Search in sources :

Example 1 with DuplexRPCServerInputPort

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

the class ASessionsServerCreator method createSessionsServer.

public static DuplexRPCServerInputPort createSessionsServer(String aServerId, String aServerName, LocalSessionsServer aSessionsServer, Class aSessionsServerInterface, String aRegisteredServerName) {
    DuplexRPCServerInputPort serverInputPort = DuplexRPCInputPortSelector.createDuplexRPCServerInputPort(aServerId, aServerName);
    // SessionsServer sessionServer = new ASessionsServer(serverInputPort);
    aSessionsServer.setDuplexRPCServerInputPort(serverInputPort);
    serverInputPort.register(aSessionsServerInterface, aSessionsServer);
    serverInputPort.register(aRegisteredServerName, aSessionsServer);
    serverInputPort.connect();
    return serverInputPort;
}
Also used : DuplexRPCServerInputPort(inputport.rpc.duplex.DuplexRPCServerInputPort)

Example 2 with DuplexRPCServerInputPort

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

the class AnEchoingDuplexRPCServerLauncher method registerRemoteObjects.

protected void registerRemoteObjects() {
    DuplexRPCServerInputPort aDuplexRPCServerInputPort = (DuplexRPCServerInputPort) mainPort;
    DuplexUpperCaser upperCaser = getUpperCaser();
    aDuplexRPCServerInputPort.register(upperCaser);
}
Also used : DuplexUpperCaser(examples.mvc.local.duplex.DuplexUpperCaser) ADuplexUpperCaser(examples.mvc.local.duplex.ADuplexUpperCaser) DuplexRPCServerInputPort(inputport.rpc.duplex.DuplexRPCServerInputPort)

Example 3 with DuplexRPCServerInputPort

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

the class ADuplexRPCServerInputPortLauncher method registerRemoteObjects.

@Override
protected void registerRemoteObjects() {
    DuplexRPCServerInputPort aDuplexRPCServerInputPort = (DuplexRPCServerInputPort) mainPort;
    DuplexUpperCasePrinter upperCasePrinter = new ADuplexUpperCasePrinter((DuplexRPCServerInputPort) aDuplexRPCServerInputPort);
    aDuplexRPCServerInputPort.register(upperCasePrinter);
}
Also used : DuplexRPCServerInputPort(inputport.rpc.duplex.DuplexRPCServerInputPort)

Example 4 with DuplexRPCServerInputPort

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

the class ASingleResponseSessionServerCreator method createSingleResponseDuplexRelayerSupportngSessionServer.

public static DuplexRPCServerInputPort createSingleResponseDuplexRelayerSupportngSessionServer(String aServerId, String aServerName, String aLogicalServerName) {
    DuplexRPCServerInputPort serverInputPort = ARelayerSupportingSessionsServerCreator.createRelayerSupportingSessionsServer(aServerId, aServerName, aLogicalServerName);
    DuplexSingleResponseUtlity.supportSingleResponse(serverInputPort);
    return serverInputPort;
}
Also used : DuplexRPCServerInputPort(inputport.rpc.duplex.DuplexRPCServerInputPort)

Example 5 with DuplexRPCServerInputPort

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

the class ASessionServerFactory method createSessionServerPort.

public DuplexRPCServerInputPort createSessionServerPort(String aServerId, String aServerName, String aLogicalServerName) {
    // LocalSessionsServer aSessionsServer = new ASessionsServer();
    LocalSessionsServer aSessionsServer = createLocalSessionServerObject();
    // DuplexRPCServerInputPort retVal = createSessionServer(aServerId, aServerName, aSessionsServer, SessionsServer.class, aLogicalServerName);
    DuplexRPCServerInputPort retVal = createSessionServer(aServerId, aServerName, aSessionsServer, getSessionServerInterfaces(), aLogicalServerName);
    return retVal;
}
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