Search in sources :

Example 11 with DuplexRPCServerInputPort

use of inputport.rpc.duplex.DuplexRPCServerInputPort in project GIPC by pdewan.

the class ASessionServerFactory method createSessionServer.

public static DuplexRPCServerInputPort createSessionServer(String aServerId, String aServerName, LocalSessionsServer aSessionsServer, List<Class> aSessionsServerInterfaces, String aRegisteredServerName) {
    DuplexRPCServerInputPort serverInputPort = DuplexRPCInputPortSelector.createDuplexRPCServerInputPort(aServerId, aServerName);
    // SessionsServer sessionServer = new ASessionsServer(serverInputPort);
    aSessionsServer.setDuplexRPCServerInputPort(serverInputPort);
    // for (Class aSessionsServerInterface:aSessionsServerInterfaces)
    // serverInputPort.register(aSessionsServerInterface, aSessionsServer);
    serverInputPort.register(aSessionsServer);
    // serverInputPort.register(LatecomerSessionsServer.class, sessionsServer);
    // serverInputPort.register(aSessionsServerName, sessionsServer);
    serverInputPort.register(aRegisteredServerName, aSessionsServer);
    // serverInputPort.connect();
    return serverInputPort;
}
Also used : DuplexRPCServerInputPort(inputport.rpc.duplex.DuplexRPCServerInputPort)

Aggregations

DuplexRPCServerInputPort (inputport.rpc.duplex.DuplexRPCServerInputPort)11 RelayerSupportingSessionServer (port.sessionserver.relay.RelayerSupportingSessionServer)3 ARelayerSupportingSessionServer (port.sessionserver.relay.ARelayerSupportingSessionServer)2 ADuplexUpperCaser (examples.mvc.local.duplex.ADuplexUpperCaser)1 DuplexUpperCaser (examples.mvc.local.duplex.DuplexUpperCaser)1 GroupRPCServerInputPort (inputport.rpc.group.GroupRPCServerInputPort)1 ARelayer (port.relay.ARelayer)1 Relayer (port.relay.Relayer)1 AServerPortDescription (port.sessionserver.AServerPortDescription)1 ASessionServer (port.sessionserver.ASessionServer)1 ServerPortDescription (port.sessionserver.ServerPortDescription)1 SessionServer (port.sessionserver.SessionServer)1