Package org.omg.Messaging
Class _MaxHopsPolicyStub
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
org.omg.Messaging._MaxHopsPolicyStub
- All Implemented Interfaces:
Serializable
,Object
,Policy
,PolicyOperations
,IDLEntity
,MaxHopsPolicy
,MaxHopsPolicyOperations
org/omg/Messaging/_MaxHopsPolicyStub.java .
Generated by the IDL-to-Java compiler (portable), version "4.1"
from /home/abuild/rpmbuild/BUILD/glassfish-corba-4.2.4/omgapi/src/main/idl/Messaging.idl
Wednesday, February 21, 2024, 10:43:23 AM Greenwich Mean Time
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
_ids()
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object.copy()
Copies the policy object.void
destroy()
Destroys the policy object.short
max_hops()
int
Return the constant value that corresponds to the type of the policy object.private void
private void
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
Field Details
-
__ids
-
-
Constructor Details
-
_MaxHopsPolicyStub
public _MaxHopsPolicyStub()
-
-
Method Details
-
max_hops
public short max_hops()- Specified by:
max_hops
in interfaceMaxHopsPolicyOperations
-
policy_type
public int policy_type()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 request@omg.org. In general the constant values that are allocated are defined in conjunction with the definition of the corresponding policy object.- Specified by:
policy_type
in interfacePolicyOperations
- Returns:
- the constant value that corresponds to the type of the policy object.
-
copy
Copies the policy object. The copy does not retain any relationships that the policy had with any domain or object.- Specified by:
copy
in interfacePolicyOperations
- Returns:
- the copy of the policy object.
-
destroy
public void destroy()Destroys the policy object. It is the responsibility of the policy object to determine whether it can be destroyed.- Specified by:
destroy
in interfacePolicyOperations
-
_ids
Description copied from class:ObjectImpl
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_ids
in classObjectImpl
- Returns:
- the array of all repository identifiers supported by this
ObjectImpl
instance
-
readObject
- Throws:
IOException
-
writeObject
- Throws:
IOException
-