org::xmlBlaster::test::TestTimeout Class Reference

Inheritance diagram for org::xmlBlaster::test::TestTimeout:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::test::TestTimeout:

Collaboration graph
[legend]
List of all members.

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 ()

Detailed Description

Definition at line 24 of file TestTimeout.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

void org::xmlBlaster::test::TestTimeout::timeout ( void *  userData  )  [virtual]

You will be notified about the timeout through this method.

Parameters:
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().


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