org.omg.Messaging.RelativeRequestTimeoutPolicyPOATie Maven / Gradle / Ivy
package org.omg.Messaging;
/**
* org/omg/Messaging/RelativeRequestTimeoutPolicyPOATie.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/Messaging.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
public class RelativeRequestTimeoutPolicyPOATie extends RelativeRequestTimeoutPolicyPOA
{
// Constructors
public RelativeRequestTimeoutPolicyPOATie ( org.omg.Messaging.RelativeRequestTimeoutPolicyOperations delegate ) {
this._impl = delegate;
}
public RelativeRequestTimeoutPolicyPOATie ( org.omg.Messaging.RelativeRequestTimeoutPolicyOperations delegate , org.omg.PortableServer.POA poa ) {
this._impl = delegate;
this._poa = poa;
}
public org.omg.Messaging.RelativeRequestTimeoutPolicyOperations _delegate() {
return this._impl;
}
public void _delegate (org.omg.Messaging.RelativeRequestTimeoutPolicyOperations delegate ) {
this._impl = delegate;
}
public org.omg.PortableServer.POA _default_POA() {
if(_poa != null) {
return _poa;
}
else {
return super._default_POA();
}
}
public long relative_expiry ()
{
return _impl.relative_expiry();
} // relative_expiry
/** Return the constant value that corresponds to the
* type of the policy object. The values of
* the polivy objectys are allocated by the OMG.
* New values for PolicyType should be obtained from the OMG by
* sending mail to [email protected]. In general the constant
* values that are allocated are defined in conjunction with
* the definition of the corresponding policy object.
* @return the constant value that corresponds to the type of
* the policy object.
*/
public int policy_type ()
{
return _impl.policy_type();
} // policy_type
/** Copies the policy object. The copy does not retain any
* relationships that the policy had with any domain or object.
* @return the copy of the policy object.
*/
public org.omg.CORBA.Policy copy ()
{
return _impl.copy();
} // copy
/** Destroys the policy object. It is the responsibility of
* the policy object to determine whether it can be destroyed.
*/
public void destroy ()
{
_impl.destroy();
} // destroy
private org.omg.Messaging.RelativeRequestTimeoutPolicyOperations _impl;
private org.omg.PortableServer.POA _poa;
} // class RelativeRequestTimeoutPolicyPOATie