TAO_Implementation_Repository 4.0.3
Loading...
Searching...
No Matches
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 ()
 
virtual bool status_changed (LiveStatus status)=0
 
const char * server () const
 Accessor for the server name. Used by the LiveCheck to associate a listener.
 
LiveListener_add_ref ()
 
void _remove_ref ()
 

Protected Attributes

ACE_CString server_
 

Private Attributes

std::atomic< 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 ( )
virtual

Member Function Documentation

◆ _add_ref()

LiveListener * LiveListener::_add_ref ( )

◆ _remove_ref()

void LiveListener::_remove_ref ( )

◆ server()

const char * LiveListener::server ( ) 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 AccessLiveListener, ListLiveListener, and SyncListener.

Member Data Documentation

◆ refcount_

std::atomic<int> LiveListener::refcount_
private

◆ server_

ACE_CString LiveListener::server_
protected

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