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;
}
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);
}
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);
}
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;
}
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;
}
Aggregations