|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object_RelativeRoundtripTimeoutPolicyLocalBase
org.jacorb.orb.policies.RelativeRoundtripTimeoutPolicy
public class RelativeRoundtripTimeoutPolicy
Specifies a relative timeout for a CORBA roundtrip. It is an upper bound for the time it may take for a request to reach the server, be processed, and the reply delivered back to the client.
Constructor Summary | |
---|---|
RelativeRoundtripTimeoutPolicy(org.omg.CORBA.Any value)
Constructs a new RelativeRoundtripTimeoutPolicy object from an Any value. |
|
RelativeRoundtripTimeoutPolicy(long relative_expiry)
Convenience constructor for RelativeRoundtripTimeoutPolicy. |
Method Summary | |
---|---|
org.omg.CORBA.Policy |
copy()
|
void |
destroy()
|
int |
policy_type()
|
long |
relative_expiry()
Returns the duration of this timeout, in CORBA time units (100 nanosecond resolution). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelativeRoundtripTimeoutPolicy(org.omg.CORBA.Any value)
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.public RelativeRoundtripTimeoutPolicy(long relative_expiry)
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.Method Detail |
---|
public long relative_expiry()
public int policy_type()
public org.omg.CORBA.Policy copy()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |