use of examples.mvc.local.duplex.DuplexUpperCaser 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 examples.mvc.local.duplex.DuplexUpperCaser in project GIPC by pdewan.
the class AnMVCServerConnectionListener method initInputPort.
@Override
public void initInputPort(InputPort anInputPort) {
inputPort = (DuplexRPCClientInputPort) anInputPort;
// create and set proxies
DuplexUpperCaser upperCaseProxy = (DuplexUpperCaser) DirectedRPCProxyGenerator.generateRPCProxy((DuplexRPCClientInputPort) inputPort, ADuplexRPCServerMVCLauncher.REGISTERED_DUPLEX_UPPER_CASER_CLASS);
model.setUpperCaser(upperCaseProxy);
// register remote object
((DuplexRPCClientInputPort) inputPort).register(model.getCounter());
}
use of examples.mvc.local.duplex.DuplexUpperCaser in project GIPC by pdewan.
the class AnMVCServerSessionConnectionListener method initInputPort.
@Override
public void initInputPort(InputPort anInputPort) {
inputPort = (DuplexRPCClientInputPort) anInputPort;
// create and set proxies
DuplexUpperCaser upperCaseProxy = (DuplexUpperCaser) DirectedRPCProxyGenerator.generateRPCProxy((DuplexRPCClientInputPort) inputPort, ADuplexRPCServerMVCLauncher.REGISTERED_DUPLEX_UPPER_CASER_CLASS);
model.setUpperCaser(upperCaseProxy);
// register remote object
((DuplexRPCClientInputPort) inputPort).register(model.getCounter());
}
Aggregations