ariba::overlay::OverlayBootstrap Class Reference

#include <source/ariba/overlay/OverlayBootstrap.h>

Inherits ariba::utility::BootstrapInformationCallback, and ariba::utility::SystemEventListener.

Collaboration diagram for ariba::overlay::OverlayBootstrap:

Collaboration graph
[legend]

List of all members.

Classes

class  JoinData
class  WatchdogTimer

Public Member Functions

 OverlayBootstrap ()
virtual ~OverlayBootstrap ()
void start (BaseOverlay *_overlay, const SpoVNetID &_spovnetid, const NodeID &_nodeid)
void stop ()
void publish (const EndpointDescriptor &_ep)
void revoke ()
void recordJoin (const EndpointDescriptor &_ep)
bool haveOverlayConnections ()

Protected Member Functions

virtual void handleSystemEvent (const SystemEvent &event)
virtual void onBootstrapServiceFound (string name, string info1, string info2, string info)

Private Types

typedef deque< JoinDataJoinStack

Private Member Functions

 use_logging_h (OverlayBootstrap)
void checkOverlayStatus ()

Private Attributes

BootstrapManagermanager
SpoVNetID spovnetid
NodeID nodeid
BaseOverlayoverlay
string randname
JoinStack lastJoines
boost::mutex lastJoinesMutex
WatchdogTimer watchtimer
bool haveOverlayConnection
boost::mutex haveOverlayConnectionMutex


Detailed Description

Definition at line 79 of file OverlayBootstrap.h.


Member Typedef Documentation

Definition at line 132 of file OverlayBootstrap.h.


Constructor & Destructor Documentation

ariba::overlay::OverlayBootstrap::OverlayBootstrap (  ) 

Definition at line 52 of file OverlayBootstrap.cpp.

ariba::overlay::OverlayBootstrap::~OverlayBootstrap (  )  [virtual]

Definition at line 65 of file OverlayBootstrap.cpp.


Member Function Documentation

void ariba::overlay::OverlayBootstrap::checkOverlayStatus (  )  [private]

void ariba::overlay::OverlayBootstrap::handleSystemEvent ( const SystemEvent event  )  [protected, virtual]

bool ariba::overlay::OverlayBootstrap::haveOverlayConnections (  ) 

Definition at line 173 of file OverlayBootstrap.cpp.

References haveOverlayConnection, and haveOverlayConnectionMutex.

void ariba::overlay::OverlayBootstrap::onBootstrapServiceFound ( string  name,
string  info1,
string  info2,
string  info 
) [protected, virtual]

void ariba::overlay::OverlayBootstrap::publish ( const EndpointDescriptor _ep  ) 

void ariba::overlay::OverlayBootstrap::recordJoin ( const EndpointDescriptor _ep  ) 

void ariba::overlay::OverlayBootstrap::revoke (  ) 

void ariba::overlay::OverlayBootstrap::start ( BaseOverlay _overlay,
const SpoVNetID _spovnetid,
const NodeID _nodeid 
)

void ariba::overlay::OverlayBootstrap::stop (  ) 

ariba::overlay::OverlayBootstrap::use_logging_h ( OverlayBootstrap   )  [private]


Member Data Documentation

Definition at line 139 of file OverlayBootstrap.h.

Referenced by checkOverlayStatus(), and haveOverlayConnections().

Definition at line 140 of file OverlayBootstrap.h.

Referenced by checkOverlayStatus(), and haveOverlayConnections().

Definition at line 133 of file OverlayBootstrap.h.

Referenced by checkOverlayStatus(), and recordJoin().

Definition at line 134 of file OverlayBootstrap.h.

Referenced by checkOverlayStatus(), and recordJoin().

Definition at line 115 of file OverlayBootstrap.h.

Referenced by publish(), revoke(), start(), and stop().

Definition at line 117 of file OverlayBootstrap.h.

Referenced by onBootstrapServiceFound(), publish(), recordJoin(), start(), and stop().

Definition at line 119 of file OverlayBootstrap.h.

Referenced by publish(), and revoke().

Definition at line 135 of file OverlayBootstrap.h.

Referenced by start(), and stop().


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

Generated on Fri Aug 14 23:39:28 2009 for Ariba by  doxygen 1.5.8