org.jacorb.orb.policies
public class RelativeRoundtripTimeoutPolicy extends _RelativeRoundtripTimeoutPolicyLocalBase
Version: $Id: RelativeRoundtripTimeoutPolicy.java,v 1.7 2007/02/14 09:49:53 andre.spiegel Exp $
Constructor Summary | |
---|---|
RelativeRoundtripTimeoutPolicy(Any value)
Constructs a new RelativeRoundtripTimeoutPolicy object from
an Any value. | |
RelativeRoundtripTimeoutPolicy(long relative_expiry)
Convenience constructor for RelativeRoundtripTimeoutPolicy. |
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.