Publishing Interfaces | ![]() print-friendly |
by Paul Hammant
Introduction
Publishing is a server responsibility obviously, it is quite straight forward.
Publishing
You have to choose your server, publish the implimentation (reiterating the interfaces that will be pass-by-reference boundaries), then start the server.....
AbstractServer as = new CompleteSocketCustomStreamServer(1235);
TestInterfaceImpl ti = new TestInterfaceImpl();
as.publish(ti, "Hello", new PublicationDescription(TestInterface.class, TestInterface2.class));
as.start();
After starting the server client connections will be accepted.


