org.apache.yoko.orb.OB
Interface TimeoutPolicyOperations

All Superinterfaces:
PolicyOperations
All Known Subinterfaces:
TimeoutPolicy
All Known Implementing Classes:
TimeoutPolicy_impl

public interface TimeoutPolicyOperations
extends PolicyOperations

The timeout policy. This policy can be used to specify the default timeout for connection establishment and requests. If an object also has ConnectionTimeoutPolicy or RequestTimeoutPolicy set, those values have precedence.

See Also:
ConnectionTimeoutPolicy, RequestTimeoutPolicy

Method Summary
 int value()
          If an object has a TimeoutPolicy set and a connection cannot be established or no response to a request is available after value milliseconds, a CORBA::NO_RESPONSE exception is raised.
 
Methods inherited from interface org.omg.CORBA.PolicyOperations
copy, destroy, policy_type
 

Method Detail

value

int value()
If an object has a TimeoutPolicy set and a connection cannot be established or no response to a request is available after value milliseconds, a CORBA::NO_RESPONSE exception is raised. The default value is -1, which means no timeout.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.