use of examples.mvc.rmi.duplex.ADistributedInheritingRMICounter in project GIPC by pdewan.
the class ASimpleGIPCRegistryAndCounterServer method init.
protected static void init() {
gipcRegistry = GIPCLocateRegistry.createRegistry(SERVER_PORT);
counter = new ADistributedInheritingRMICounter();
gipcRegistry.rebind(COUNTER_NAME, counter);
gipcRegistry.getInputPort().addConnectionListener(new ATracingConnectionListener(gipcRegistry.getInputPort()));
}
Aggregations