xorp

TestFinderClientObserver Class Reference

Inheritance diagram for TestFinderClientObserver:
FinderClientObserver

List of all members.

Public Member Functions

 TestFinderClientObserver (const string &tgtname)
void finder_connect_event ()
 Finder connection established.
void finder_disconnect_event ()
 Finder connection terminated.
void finder_ready_event (const string &target_name)
 Finder registration of named target is complete and target is able to send and receive Xrls requests.
bool connected () const
bool got_correct_ready_event () const

Private Attributes

bool _connected
bool _correct_target_ready
string _expected_target

Member Function Documentation

void TestFinderClientObserver::finder_connect_event ( ) [inline, virtual]

Finder connection established.

Called by FinderClient when a connection to the Finder is established.

Implements FinderClientObserver.

void TestFinderClientObserver::finder_disconnect_event ( ) [inline, virtual]

Finder connection terminated.

Called by FinderClient when the connection to the Finder is lost.

Implements FinderClientObserver.

void TestFinderClientObserver::finder_ready_event ( const string &  target_name) [inline, virtual]

Finder registration of named target is complete and target is able to send and receive Xrls requests.

Called by FinderClient after Xrls have been registered and the the target is enabled with the finder.

Parameters:
target_namethe name of the Xrl target transitioning to ready state.

Implements FinderClientObserver.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations