TAO_Implementation_Repository  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
AccessLiveListener Class Reference

#include <AsyncAccessManager.h>

Inheritance diagram for AccessLiveListener:
Inheritance graph
Collaboration diagram for AccessLiveListener:
Collaboration graph

Public Member Functions

 AccessLiveListener (const char *server, AsyncAccessManager *aam, LiveCheck &pinger, ImplementationRepository::ServerObject_ptr ref)
 AccessLiveListener (const char *server, AsyncAccessManager *aam, LiveCheck &pinger)
virtual ~AccessLiveListener (void)
bool start (void)
bool status_changed (LiveStatus status)
- Public Member Functions inherited from LiveListener
 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...
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)

Private Attributes

AsyncAccessManager_ptr aam_
LiveStatus status_
bool per_client_
ImplementationRepository::ServerObject_var srv_ref_

Additional Inherited Members

- Protected Attributes inherited from LiveListener
ACE_CString server_
const LiveEntryentry_

Constructor & Destructor Documentation

AccessLiveListener::AccessLiveListener ( const char *  server,
AsyncAccessManager aam,
LiveCheck pinger,
ImplementationRepository::ServerObject_ptr  ref 
AccessLiveListener::AccessLiveListener ( const char *  server,
AsyncAccessManager aam,
LiveCheck pinger 
AccessLiveListener::~AccessLiveListener ( void  )

Member Function Documentation

bool AccessLiveListener::start ( void  )
bool AccessLiveListener::status_changed ( LiveStatus  status)

called by the asynch ping receiver when a reply or an exception is received. Returns true if finished listening

Implements LiveListener.

Member Data Documentation

AsyncAccessManager_ptr AccessLiveListener::aam_
bool AccessLiveListener::per_client_
LiveCheck& AccessLiveListener::pinger_
ImplementationRepository::ServerObject_var AccessLiveListener::srv_ref_
LiveStatus AccessLiveListener::status_

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