use of port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel in project GIPC by pdewan.
the class AnMVCServerConnectionListenerAndLauncher method getFrostyModel.
protected DuplexFrostyModel getFrostyModel() {
GenericRelayingCollaborativeFrostyModel genericModel = new AGenericRelayingCollaborativeFrostyModel((DuplexUpperCaser) upperCaseProxy, relayerProxy, counter, relayerPort.getLocalName());
((DuplexRPCInputPort) relayerPort).addReceiveListener(genericModel);
return genericModel;
}
use of port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel in project GIPC by pdewan.
the class ADynamicServerLatecomerClientLauncher method joinSessionServer.
@Override
protected JoinInfo joinSessionServer() {
// created before session join so MVC server description and message list is null
dynamicServerSessionObserver = new ADynamicServerSessionObserver(serverName, null, clientName, null, (GenericRelayingCollaborativeFrostyModel) getFrostyModel(), null, this);
dynamicServerSessionObserver.initInputPort(mainPort);
return ((LatecomerSessionServer) sessionServerProxy).lateJoin(sessionName, new AServerPortDescription(null, null, clientName), dynamicServerSessionObserver);
}
Aggregations