void processSessionMember(ServerPortDescription aServerPortDescription) { if (!myName.equals(aServerPortDescription.getName())) { DuplexClientInputPort clientInputPort = DuplexObjectInputPortSelector.createDuplexClientInputPort( aServerPortDescription.getHost(), aServerPortDescription.getID(), aServerPortDescription.getName(), myName); clientInputPort.addConnectionListener(new AFrostyObjectConnectionListener(clientInputPort)); clientInputPort.addReceiveListener(new AnEchoingObjectReceiveListener()); clientInputPorts.add(clientInputPort); clientInputPort.connect(); // clientInputPort.send("Words of Robert Forst Please"); // nameToPort.put(aServerPortDescription.getName(), clientInputPort); } }
public ASingleReponseReplicatedSessionServerLauncher( ServerPortDescription aServerPortDescription) { super(aServerPortDescription.getID(), aServerPortDescription.getName(), SESSION_SERVER_NAME); }