Creating and exporting the ping server
ConcretePingServer server= new ConcretePingServer();
Manager.bind
("pingServer", server);
The general form for exporting a network object is:
Manager.bind(
object-name
,
concrete-object
);
- 6 -