com.pcbsys.nirvana.client.p2p.nServiceStateListener Interface Reference

This interface should be implemented by objects that require notification when nService objects become disconnected and reconnected to the realm server. More...


Public Member Functions

void disconnected (nService serv)
 Callback fired when a service gets disconnected from the realm.
void reconnected (nService srv)
 Callback fired when a service is reconnected to the realm.
void reset (nService srv)
 Callback fired when a service has been fully re-established end to end.

Detailed Description

This interface should be implemented by objects that require notification when nService objects become disconnected and reconnected to the realm server.

Member Function Documentation

void com.pcbsys.nirvana.client.p2p.nServiceStateListener.disconnected ( nService  serv  ) 

Callback fired when a service gets disconnected from the realm.

Parameters:
serv the disconnected service

void com.pcbsys.nirvana.client.p2p.nServiceStateListener.reconnected ( nService  srv  ) 

Callback fired when a service is reconnected to the realm.

Parameters:
srv the reconnected service

void com.pcbsys.nirvana.client.p2p.nServiceStateListener.reset ( nService  srv  ) 

Callback fired when a service has been fully re-established end to end.

Parameters:
srv the fully re-established service