TAO_Implementation_Repository
2.2.0
|
#include <LiveCheck.h>
Public Member Functions | |
LiveListener (const char *server) | |
virtual | ~LiveListener (void) |
void | entry (const LiveEntry *entry) |
sets the initial status volue, set by entry during an add_listener call More... | |
LiveStatus | status (void) const |
Query the status of the associated entry. More... | |
virtual bool | status_changed (LiveStatus status)=0 |
const char * | server (void) const |
accessor for the server name. Used by the LiveCheck to associate a listener More... | |
LiveListener * | _add_ref (void) |
void | _remove_ref (void) |
Protected Attributes | |
ACE_CString | server_ |
const LiveEntry * | entry_ |
Private Attributes | |
int | refcount_ |
TAO_SYNCH_MUTEX | lock_ |
LiveListener::LiveListener | ( | const char * | server | ) |
Construct a new listener. The server name suppled is used to look up a listener entry in the LiveCheck map.
|
virtual |
LiveListener * LiveListener::_add_ref | ( | void | ) |
void LiveListener::_remove_ref | ( | void | ) |
void LiveListener::entry | ( | const LiveEntry * | entry | ) |
sets the initial status volue, set by entry during an add_listener call
const char * LiveListener::server | ( | void | ) | const |
accessor for the server name. Used by the LiveCheck to associate a listener
LiveStatus LiveListener::status | ( | void | ) | const |
Query the status of the associated entry.
|
pure virtual |
called by the asynch ping receiver when a reply or an exception is received. Returns true if finished listening
Implemented in SyncListener, AccessLiveListener, and ListLiveListener.
|
protected |
|
private |
|
private |
|
protected |