#include <acsQoStimeout.h>
Public Member Functions | |
Timeout (unsigned long timeout) | |
~Timeout () | |
unsigned long | get () |
void | set (unsigned long timeout) |
Static Public Member Functions | |
void | setORBTimeout (unsigned long timeout, CORBA::ORB_ptr _orb=CORBA::ORB::_nil()) |
template<class T> T * | setObjectTimeout (unsigned long timeout, T *obj) |
void | init (CORBA::ORB_ptr _orb) |
bool | isInitialized () |
void | done () |
Private Member Functions | |
void | set () |
Private Attributes | |
unsigned long | timeout_m |
CORBA::PolicyList | policyList_m |
CORBA::PolicyCurrent_var | policyCurrent_m |
CORBA::PolicyList | previousPolicy_m |
Static Private Attributes | |
CORBA::ORB_var | orb_m |
bool | initialized_m |
|
Constructor.
|
|
Destructor. |
|
Method to "cleanup" the acsQoS functionality. In order to use acsQoS features such as timeouts, things must first be initialised and should also be cleaned up when such features are not needed any longer. This is normally done automatically during shutdown of the container and/or the simple client, so the user does not have to take care of this (i.e. the user does not normally need to call this method explicitly). |
|
Method to get the timeout, in milliseconds.
|
|
Initializes the acsQoS functionality. In order to use acsQoS features such as timeouts, things must first be initialised. This is normally done automatically in the container and in the simple client, so the user does not have to take care of this (i.e. the user does not normally need to call this method explicitly).
|
|
Method to check to see if the acsQoS functionality has been initialized.
|
|
|
|
Method to set the timeout, in milliseconds.
|
|
Sets the timeout on the level of an individual CORBA object. Note that the user must use the returned object reference for invoking calls in order for the timeout be used.
|
|
Sets the ORB level timeout. The timeout can be set either on the orb that was passed (previously) to the init method, or on the orb that is passed as a second parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|