Search in sources :

Example 1 with AnotherCounter

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();
}
Also used : AnAnotherCounter(inputport.rpc.duplex.example.AnAnotherCounter) AnotherCounter(inputport.rpc.duplex.example.AnotherCounter) AnAnotherCounter(inputport.rpc.duplex.example.AnAnotherCounter)

Example 2 with AnotherCounter

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;
}
Also used : AnotherCounter(inputport.rpc.duplex.example.AnotherCounter)

Example 3 with AnotherCounter

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;
}
Also used : AnAnotherCounter(inputport.rpc.duplex.example.AnAnotherCounter) AnAnotherCounter(inputport.rpc.duplex.example.AnAnotherCounter) AnotherCounter(inputport.rpc.duplex.example.AnotherCounter)

Example 4 with AnotherCounter

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;
}
Also used : AnotherCounter(inputport.rpc.duplex.example.AnotherCounter)

Example 5 with AnotherCounter

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;
}
Also used : AnotherCounter(inputport.rpc.duplex.example.AnotherCounter) ACounterWithObjectValue(inputport.rpc.group.example.ACounterWithObjectValue)

Aggregations

AnotherCounter (inputport.rpc.duplex.example.AnotherCounter)5 AnAnotherCounter (inputport.rpc.duplex.example.AnAnotherCounter)2 ACounterWithObjectValue (inputport.rpc.group.example.ACounterWithObjectValue)1