org.jacorb.orb.policies
public class RelativeRequestTimeoutPolicy extends _RelativeRequestTimeoutPolicyLocalBase
Version: $Id: RelativeRequestTimeoutPolicy.java,v 1.7 2007/02/14 09:49:53 andre.spiegel Exp $
| Constructor Summary | |
|---|---|
| RelativeRequestTimeoutPolicy(Any value)
Constructs a new RelativeRequestTimeoutPolicy object from
an Any value. | |
| RelativeRequestTimeoutPolicy(long relative_expiry)
Convenience constructor for RelativeRequestTimeoutPolicy. | |
| Method Summary | |
|---|---|
| Policy | copy() |
| void | destroy() |
| int | policy_type() |
| long | relative_expiry()
Returns the duration of this timeout, in CORBA time units (100 nanosecond
resolution). |
Parameters: value an Any that contains the timeout as a CORBA "unsigned long long" value (use Any.insert_ulonglong()). The timeout is specified in CORBA time units (100 nanosecond resolution). If you have a value in milliseconds, multiply that by 10,000.
Parameters: relative_expiry the duration of this timeout, in CORBA time units (100 nanosecond resolution). If you have a value in milliseconds, multiply that by 10,000.