|
TAO_Implementation_Repository
2.4.2
|
#include <LiveCheck.h>

Public Member Functions | |
| LiveEntry (LiveCheck *owner, const char *server, bool may_ping, ImplementationRepository::ServerObject_ptr ref) | |
| ~LiveEntry (void) | |
| void | release_callback (void) |
| void | add_listener (LiveListener *ll) |
| void | remove_listener (LiveListener *ll) |
| LiveStatus | status (void) const |
| void | status (LiveStatus l) |
| void | reset_status (void) |
| void | update_listeners (void) |
| bool | validate_ping (bool &want_reping, ACE_Time_Value &next) |
| void | do_ping (PortableServer::POA_ptr poa) |
| const ACE_Time_Value & | next_check (void) const |
| bool | reping_available (void) |
| int | next_reping (void) |
| void | max_retry_msec (int max) |
| const char * | server_name (void) const |
| void | set_pid (int pid) |
| bool | has_pid (int pid) |
Static Public Member Functions | |
| static const ACE_TCHAR * | status_name (LiveStatus s) |
| the current state value as text More... | |
| static void | set_reping_limit (int max) |
Private Types | |
| typedef ACE_Unbounded_Set< LiveListener_ptr > | Listen_Set |
Private Attributes | |
| LiveCheck * | owner_ |
| ACE_CString | server_ |
| ImplementationRepository::ServerObject_var | ref_ |
| LiveStatus | liveliness_ |
| ACE_Time_Value | next_check_ |
| int | repings_ |
| int | max_retry_ |
| bool | may_ping_ |
| Listen_Set | listeners_ |
| TAO_SYNCH_MUTEX | lock_ |
| PortableServer::ServantBase_var | callback_ |
| int | pid_ |
Static Private Attributes | |
| static const int | reping_msec_ [] = {10, 100, 500, 1000, 1000, 2000, 2000, 5000, 5000} |
| static int | reping_limit_ = sizeof (LiveEntry::reping_msec_) / sizeof (int) |
|
private |
| LiveEntry::LiveEntry | ( | LiveCheck * | owner, |
| const char * | server, | ||
| bool | may_ping, | ||
| ImplementationRepository::ServerObject_ptr | ref | ||
| ) |
| LiveEntry::~LiveEntry | ( | void | ) |
| void LiveEntry::add_listener | ( | LiveListener * | ll | ) |
| void LiveEntry::do_ping | ( | PortableServer::POA_ptr | poa | ) |
| bool LiveEntry::has_pid | ( | int | pid | ) |
| void LiveEntry::max_retry_msec | ( | int | max | ) |
| const ACE_Time_Value & LiveEntry::next_check | ( | void | ) | const |
| int LiveEntry::next_reping | ( | void | ) |
| void LiveEntry::release_callback | ( | void | ) |
| void LiveEntry::remove_listener | ( | LiveListener * | ll | ) |
| bool LiveEntry::reping_available | ( | void | ) |
| void LiveEntry::reset_status | ( | void | ) |
| const char * LiveEntry::server_name | ( | void | ) | const |
| void LiveEntry::set_pid | ( | int | pid | ) |
|
static |
| LiveStatus LiveEntry::status | ( | void | ) | const |
| void LiveEntry::status | ( | LiveStatus | l | ) |
|
static |
the current state value as text
| void LiveEntry::update_listeners | ( | void | ) |
| bool LiveEntry::validate_ping | ( | bool & | want_reping, |
| ACE_Time_Value & | next | ||
| ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
1.8.11