Search in sources :

Example 1 with DuplexRPCInputPort

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;
}
Also used : AGenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel) DuplexRPCInputPort(inputport.rpc.duplex.DuplexRPCInputPort) AGenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel) GenericRelayingCollaborativeFrostyModel(port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel)

Example 2 with DuplexRPCInputPort

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);
}
Also used : DuplexRPCInputPort(inputport.rpc.duplex.DuplexRPCInputPort) ARelayer(port.relay.ARelayer) Relayer(port.relay.Relayer) ARelayer(port.relay.ARelayer)

Aggregations

DuplexRPCInputPort (inputport.rpc.duplex.DuplexRPCInputPort)2 ARelayer (port.relay.ARelayer)1 Relayer (port.relay.Relayer)1 AGenericRelayingCollaborativeFrostyModel (port.relay.mvc.example.AGenericRelayingCollaborativeFrostyModel)1 GenericRelayingCollaborativeFrostyModel (port.relay.mvc.example.GenericRelayingCollaborativeFrostyModel)1