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

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

#include <nServiceStateListener.h>


Public Member Functions

virtual void disconnected (nService *pServ)=0
 Callback fired when a service gets disconnected from the realm.
virtual void reconnected (nService *pServ)=0
 Callback fired when a service is reconnected to the realm.
virtual void reset (nService *pSrv)=0
 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

virtual void com.pcbsys.nirvana.client.p2p.nServiceStateListener.disconnected ( nService pServ  )  [pure virtual]

Callback fired when a service gets disconnected from the realm.

Parameters:
*pServ the disconnected service

virtual void com.pcbsys.nirvana.client.p2p.nServiceStateListener.reconnected ( nService pServ  )  [pure virtual]

Callback fired when a service is reconnected to the realm.

Parameters:
*pServ the reconnected service

virtual void com.pcbsys.nirvana.client.p2p.nServiceStateListener.reset ( nService pSrv  )  [pure virtual]

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

Parameters:
*pSrv the fully re-established service