use of inputport.rpc.group.example.ACounterWithObjectValue in project GIPC by pdewan.
the class AnOldGroupRPCStaticSessionPortLauncher method registerMethods.
// public static void displayConnections() {
// ConnectionEventListener connectionManager = new AConnectionEventManager();
// DistEventsBus.addConnectionEventListener(connectionManager);
// ObjectEditor.edit(connectionManager);
// }
public static void registerMethods(GroupRPCSessionPort rpcPort) {
DuplexCounterAndSenderAwareSummer adder = new AGroupCounterAndSenderAwareSumPrinter(rpcPort);
rpcPort.register(DuplexCounterAndSenderAwareSummer.class, adder);
registerdEchoer = new ARegisteredEchoer();
rpcPort.register(AnotherEchoer.class, registerdEchoer);
counter = new AnAnotherCounter();
counter = new ACounterWithObjectValue();
rpcPort.register(CounterWithObjectValue.class, counter);
rpcPort.register(AnotherCounter.class, counter);
}
use of inputport.rpc.group.example.ACounterWithObjectValue 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