TAO_Implementation_Repository  2.3.3
Public Member Functions | Protected Attributes | Private Attributes | List of all members
LiveListener Class Referenceabstract

#include <LiveCheck.h>

Inheritance diagram for LiveListener:
Inheritance graph
[legend]
Collaboration diagram for LiveListener:
Collaboration graph
[legend]

Public Member Functions

 LiveListener (const char *server)
 
virtual ~LiveListener (void)
 
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_
 

Private Attributes

int refcount_
 
TAO_SYNCH_MUTEX lock_
 

Constructor & Destructor Documentation

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.

LiveListener::~LiveListener ( void  )
virtual

Member Function Documentation

LiveListener * LiveListener::_add_ref ( void  )
void LiveListener::_remove_ref ( void  )
const char * LiveListener::server ( void  ) const

accessor for the server name. Used by the LiveCheck to associate a listener

virtual bool LiveListener::status_changed ( LiveStatus  status)
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.

Member Data Documentation

TAO_SYNCH_MUTEX LiveListener::lock_
private
int LiveListener::refcount_
private
ACE_CString LiveListener::server_
protected

The documentation for this class was generated from the following files: