use of inputport.rpc.duplex.example.AnotherCounter in project GIPC by pdewan.
the class DirectedRPCProxyGenerator method main.
public static void main(String[] args) {
AnotherCounter counterProxy = (AnotherCounter) generateRPCProxy(null, null, AnAnotherCounter.class, "counter");
int result = counterProxy.getValue();
}
use of inputport.rpc.duplex.example.AnotherCounter in project GIPC by pdewan.
the class AnOldGroupRPCClientInputPortLauncher method createAndRegisterCounter.
@Override
protected AnotherCounter createAndRegisterCounter(RPCRegistry aClientInputPort) {
AnotherCounter counter = new ACounterWithObjectValue();
// aClientInputPort.register(CounterWithObjectValue.class, counter);
// aClientInputPort.register(Counter.class, counter);
aClientInputPort.register(counter);
// aClientInputPort.register(Counter.class, counter);
return counter;
}
use of inputport.rpc.duplex.example.AnotherCounter in project GIPC by pdewan.
the class ADuplexRPCClientInputPortLauncher method createAndRegisterCounter.
protected AnotherCounter createAndRegisterCounter(RPCRegistry aClientInputPort) {
AnotherCounter counter = new AnAnotherCounter();
aClientInputPort.register(counter);
return counter;
}
use of inputport.rpc.duplex.example.AnotherCounter in project GIPC by pdewan.
the class AGroupRPCClientInputPortLauncher method createAndRegisterCounter.
@Override
protected AnotherCounter createAndRegisterCounter(RPCRegistry aClientInputPort) {
AnotherCounter counter = new ACounterWithObjectValue();
// aClientInputPort.register(CounterWithObjectValue.class, counter);
// aClientInputPort.register(Counter.class, counter);
aClientInputPort.register(counter);
// aClientInputPort.register(Counter.class, counter);
return counter;
}
use of inputport.rpc.duplex.example.AnotherCounter in project GIPC by pdewan.
the class ASingleResponseReplicatedGroupSessionPortClientLauncher method createAndRegisterCounter.
protected AnotherCounter createAndRegisterCounter(RPCRegistry aClientInputPort) {
AnotherCounter counter = new ACounterWithObjectValue();
aClientInputPort.register(counter);
return counter;
}
Aggregations