class FinderTcpAutoConnector

Class to establish and manage a single connection to a FinderTcpListener. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

Class to establish and manage a single connection to a FinderTcpListener. Should the connection fail after being established a new connection is started.

 FinderTcpAutoConnector ( EventLoop& e, FinderMessengerManager& mm, XrlCmdMap& cmds, IPv4 host, uint16_t port, bool enabled = true, uint32_t give_up_ms = 0 )

FinderTcpAutoConnector

 ~FinderTcpAutoConnector ()

~FinderTcpAutoConnector

[virtual]

void  set_enabled (bool en)

set_enabled

bool  enabled ()

enabled

[const]

bool  connected ()

connected

[const]

bool  connect_failed ()

connect_failed

[const]

void  do_auto_connect ()

do_auto_connect

[protected]

void  start_timer (uint32_t ms = 0)

start_timer

[protected]

void  stop_timer ()

stop_timer

[protected]

void  messenger_birth_event (FinderMessengerBase*)

messenger_birth_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_death_event (FinderMessengerBase*)

messenger_death_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_active_event (FinderMessengerBase*)

messenger_active_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_inactive_event (FinderMessengerBase*)

messenger_inactive_event

[protected]

Reimplemented from FinderMessengerManager.

void  messenger_stopped_event (FinderMessengerBase*)

messenger_stopped_event

[protected]

Reimplemented from FinderMessengerManager.

bool  manages (const FinderMessengerBase*)

manages

[protected const]

Reimplemented from FinderMessengerManager.

FinderMessengerManager& _real_manager

_real_manager

[protected]

bool _connected

_connected

[protected]

bool _connect_failed

_connect_failed

[protected]

bool _enabled

_enabled

[protected]

bool _once_active

_once_active

[protected]

XorpTimer _retry_timer

_retry_timer

[protected]

XorpTimer _giveup_timer

_giveup_timer

[protected]

int _last_error

_last_error

[protected]

size_t _consec_error

_consec_error

[protected]

static const uint32_t CONNECT_RETRY_PAUSE_MS

CONNECT_RETRY_PAUSE_MS

[protected]

static const uint32_t CONNECT_FAILS_BEFORE_LOGGING

CONNECT_FAILS_BEFORE_LOGGING

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:36 2008, using kdoc 2.0a54+XORP.