Public Member Functions | Private Attributes

TimeOutTestImpl Class Reference

#include <timeoutTestImpl.h>

List of all members.

Public Member Functions

 TimeOutTestImpl (CORBA::ORB_ptr orb)
CORBA::Long echo (CORBA::Long x, CORBA::Long msecs)
void shutdownOrb ()

Private Attributes

CORBA::ORB_var orb_

Constructor & Destructor Documentation

TimeOutTestImpl::TimeOutTestImpl ( CORBA::ORB_ptr  orb  ) 

Constructor.

Parameters:
orb the ptr to the orb to use for the test.

Member Function Documentation

CORBA::Long TimeOutTestImpl::echo ( CORBA::Long  x,
CORBA::Long  msecs 
)

Method to test the acsQoS capabilities for timeouts.

Parameters:
x parameter accepted as input, which will also be "echoed" back as output.
msecs the number of milliseconds that this method will delay/sleep before returning. This can be used to trigger, or not trigger, a timeout for testing purposes, depending on the value of the timeout in relation to this value.
Returns:
the value passed in as the input parameter, x, "echoed" back as output.
void TimeOutTestImpl::shutdownOrb (  ) 

Used to gracefully exit the test after the client is finished. The client must call this method when finished testing the servant, in order to prevent the servant process from hanging around indefinitely.


Member Data Documentation

CORBA::ORB_var TimeOutTestImpl::orb_ [private]

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