use of sessionport.datacomm.duplex.object.relayed.AMessageWithSource in project GIPC by pdewan.
the class ARelayingGroupConnectionsManager method send.
// again, we do not make this synchronous, so that sends can happen with receives
@Override
public void send(Collection<String> clientNames, Object message) {
// Set<String> globalClientNames = new HashSet();
// for (String clientName: clientNames) {
// globalClientNames.add(ARelayer.localToUniqueRelayerName(sessionName, clientName));
// }
// relayerProxy.relay(globalClientNames, new AMessageWithSource(groupObjectSessionPort.getLocalName(), message));
Tracer.info(this, "Sending message via relay method");
// relayerProxy.relay(sessionName, clientNames, new AMessageWithSource(groupObjectSessionPort.getLocalName(), message));
relayerProxy.relay(clientNames, new AMessageWithSource(groupObjectSessionPort.getLocalName(), message));
}
use of sessionport.datacomm.duplex.object.relayed.AMessageWithSource in project GIPC by pdewan.
the class AGenericRelayingCollaborativeFrostyModel method processUpperCase.
protected void processUpperCase(String aString) {
super.processUpperCase(aString);
relayer.relayOthers(new AMessageWithSource(userName, userName + " said:" + aString));
}
use of sessionport.datacomm.duplex.object.relayed.AMessageWithSource in project GIPC by pdewan.
the class AGenericRelayingCollaborativeFrostyModel method processUpperCase.
protected void processUpperCase(String aString) {
super.processUpperCase(aString);
relayer.relayOthers(new AMessageWithSource(userName, userName + " said:" + aString));
}
Aggregations