- com
- pcbsys
- nirvana
- client
- p2p
- nServerService
nServerService provides the interface to implement a P2P server. More...
Public Member Functions | |
nService | accept () throws IOException |
This method will return a newly connected nService object which can be used to read/write to the remote nService. More... | |
void | close () |
This will close the ServerService and remove all entries of the service from the server. More... | |
Public Member Functions inherited from com.pcbsys.nirvana.client.nEventListener | |
void | go (com.pcbsys.nirvana.client.nConsumeEvent evt) |
This method is asynchronously called by the nirvana client API to deliver an event to a registered subscriber. More... | |
nServerService provides the interface to implement a P2P server.
This acts like a ServerSocket class in that when a new P2P client connects the accept method will return a new nService object. This nService object can then be used to communicate with the remote nService.
nService com.pcbsys.nirvana.client.p2p.nServerService.accept | ( | ) | throws IOException |
void com.pcbsys.nirvana.client.p2p.nServerService.close | ( | ) |
This will close the ServerService and remove all entries of the service from the server.
It will also send a disconnect to all remote nServices