Search in sources :

Example 1 with GenericRelayingCollaborativeFrostyModel

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;
}
Also used : AGenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel) DuplexRPCInputPort(inputport.rpc.duplex.DuplexRPCInputPort) AGenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel) GenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel)

Example 2 with GenericRelayingCollaborativeFrostyModel

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);
}
Also used : AServerPortDescription(port.sessionserver.AServerPortDescription) GenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel) LatecomerSessionServer(port.sessionserver.relay.late.LatecomerSessionServer)

Aggregations

GenericRelayingCollaborativeFrostyModel (port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel)2 DuplexRPCInputPort (inputport.rpc.duplex.DuplexRPCInputPort)1 AGenericRelayingCollaborativeFrostyModel (port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel)1 AServerPortDescription (port.sessionserver.AServerPortDescription)1 LatecomerSessionServer (port.sessionserver.relay.late.LatecomerSessionServer)1