1 18 package net.sf.drftpd.event; 19 20 import net.sf.drftpd.master.RemoteSlave; 21 22 27 public class SlaveEvent extends MessageEvent { 28 private RemoteSlave slave; 29 30 public SlaveEvent(String command, RemoteSlave rslave) { 31 this(command, null, rslave); 32 } 33 36 public SlaveEvent(String command, String message, RemoteSlave rslave) { 37 this(command, message, rslave, System.currentTimeMillis()); 38 } 39 40 44 public SlaveEvent(String command, String message, RemoteSlave slave, long time) { 45 super(command, message, time); 46 this.slave = slave; 47 } 48 49 public RemoteSlave getRSlave() { 50 return this.slave; 51 } 52 } 53 | Popular Tags |