TAO_Implementation_Repository  2.5.12
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

ACE_Atomic_Op< TAO_SYNCH_MUTEX, int > refcount_
 

Constructor & Destructor Documentation

◆ LiveListener()

LiveListener::LiveListener ( const char *  server)

Construct a new listener. The server name supplied is used to look up a listener entry in the LiveCheck map.

◆ ~LiveListener()

LiveListener::~LiveListener ( void  )
virtual

Member Function Documentation

◆ _add_ref()

LiveListener * LiveListener::_add_ref ( void  )

◆ _remove_ref()

void LiveListener::_remove_ref ( void  )

◆ server()

const char * LiveListener::server ( void  ) const

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

◆ status_changed()

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, ListLiveListener, and AccessLiveListener.

Member Data Documentation

◆ refcount_

ACE_Atomic_Op<TAO_SYNCH_MUTEX, int> LiveListener::refcount_
private

◆ server_

ACE_CString LiveListener::server_
protected

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