Public Member Functions | |
TestTimeout (Global &global, string name) | |
virtual | ~TestTimeout () |
void | timeout (void *userData) |
You will be notified about the timeout through this method. | |
void | testTimeout () |
void | testLifecycle () |
void | setUp (int args=0, char *argc[]=0) |
void | tearDown () |
Definition at line 24 of file TestTimeout.cpp.
org::xmlBlaster::test::TestTimeout::TestTimeout | ( | Global & | global, | |
string | name | |||
) |
Definition at line 34 of file TestTimeout.cpp.
virtual org::xmlBlaster::test::TestTimeout::~TestTimeout | ( | ) | [virtual] |
Definition at line 43 of file TestTimeout.cpp.
void org::xmlBlaster::test::TestTimeout::timeout | ( | void * | userData | ) | [virtual] |
You will be notified about the timeout through this method.
userData | You get bounced back your userData which you passed with Timeout.addTimeoutListener() |
Implements org::xmlBlaster::util::I_Timeout.
Definition at line 48 of file TestTimeout.cpp.
References org::xmlBlaster::util::Timeout::addTimeoutListener(), and org::xmlBlaster::util::I_Log::info().
Referenced by testLifecycle().
void org::xmlBlaster::test::TestTimeout::testTimeout | ( | ) |
Definition at line 59 of file TestTimeout.cpp.
References org::xmlBlaster::util::Timeout::addTimeoutListener(), org::xmlBlaster::util::I_Log::info(), and org::xmlBlaster::util::thread::Thread::sleepSecs().
Referenced by main().
void org::xmlBlaster::test::TestTimeout::testLifecycle | ( | ) |
Definition at line 72 of file TestTimeout.cpp.
References org::xmlBlaster::util::I_Log::info(), and timeout().
Referenced by main().
void org::xmlBlaster::test::TestTimeout::setUp | ( | int | args = 0 , |
|
char * | argc[] = 0 | |||
) |
Definition at line 82 of file TestTimeout.cpp.
References org::xmlBlaster::util::I_Log::info(), and org::xmlBlaster::util::I_Log::trace().
Referenced by main().
void org::xmlBlaster::test::TestTimeout::tearDown | ( | ) |
Definition at line 93 of file TestTimeout.cpp.
References org::xmlBlaster::util::I_Log::info(), and org::xmlBlaster::util::Timeout::shutdown().
Referenced by main().