|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.omg.Messaging._RelativeRequestTimeoutPolicyLocalBase
org.jacorb.orb.policies.RelativeRequestTimeoutPolicy
public class RelativeRequestTimeoutPolicy
Specifies a relative timeout for a CORBA request. It is an upper bound for the time it may take for a request to get from the client to the server. The timeout does not include the time needed for getting the reply back to the client.
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). |
Methods inherited from class org.omg.Messaging._RelativeRequestTimeoutPolicyLocalBase |
---|
_ids |
Methods inherited from class org.omg.CORBA.LocalObject |
---|
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
---|
public RelativeRequestTimeoutPolicy(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 RelativeRequestTimeoutPolicy(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 Policy copy()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |