use of inputport.rpc.duplex.DuplexRPCInputPort 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;
}
use of inputport.rpc.duplex.DuplexRPCInputPort in project GIPC by pdewan.
the class ARelayerConnectionListener method initInputPort.
@Override
public void initInputPort(InputPort anInputPort) {
super.initInputPort(anInputPort);
Relayer relayerProxy = (Relayer) ((DuplexRPCInputPort) inputPort).getRPCProxyGenerator().generateRPCProxy(ARelayer.class);
addModelAsReceiveListener();
// ((DuplexRPCClientInputPort) inputPort).addReceiveListener(model);
model.setRelayer(relayerProxy);
}
Aggregations