TAO_Implementation_Repository  2.1.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
LiveListener Class Referenceabstract

#include <LiveCheck.h>

Inheritance diagram for LiveListener:
Inheritance graph
Collaboration diagram for LiveListener:
Collaboration graph

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...
LiveListeneradd_ref (void)
void remove_ref (void)

Private Attributes

ACE_CString server_
int refcount_

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  )

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, and AsyncLiveListener.

Member Data Documentation

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

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