com::pcbsys::nirvana::client::p2p::nServiceStateListener Class Referenceabstract

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. More...
 
virtual void reconnected (nService *pServ)=0
 Callback fired when a service is reconnected to the realm. More...
 
virtual void reset (nService *pSrv)=0
 Callback fired when a service has been fully re-established end to end. More...
 

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
*pServthe 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
*pServthe 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
*pSrvthe fully re-established service