org.omg.CosTime
Class UTOPOA
java.lang.Object
org.omg.PortableServer.Servant
org.omg.CosTime.UTOPOA
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, UTOOperations
- Direct Known Subclasses:
- UTOImpl, UTOPOATie
public abstract class UTOPOA
- extends org.omg.PortableServer.Servant
- implements UTOOperations, org.omg.CORBA.portable.InvokeHandler
The Uto provides various operations on basic time. These include the following groups of operations:
- Construction of a UTO from piece parts, and extraction of piece parts from a UTO
- Comparaison of time.
- Conversion from relative to absolute time, and conversion to an interval.
Of these, the first operation is required for completenesss,since in its absence it would be difficult to provide
a time input to the timer event handler, for example. The second operation is required by the RFP, and the third is
required for completeness and usability.
The Uto interface corresponds to an object that contains utc time,and is the means for manipulating the time contained in
the object. This interface has opearations for getting a UtcT type data structure containing the current value of time in the object,
as well as operations for getting the values of individual fields of utc time, getting absolute time from relative time, and comparing
and doing bounds operations on UTOs. The UTO interface does not provide any operation for modifying the time in the object. It is intended that
UTOs are immutable.
Method Summary |
java.lang.String[] |
_all_interfaces(org.omg.PortableServer.POA poa,
byte[] objectId)
|
org.omg.CORBA.portable.OutputStream |
_invoke(java.lang.String opName,
org.omg.CORBA.portable.InputStream _is,
org.omg.CORBA.portable.ResponseHandler handler)
|
UTO |
_this()
|
UTO |
_this(org.omg.CORBA.ORB orb)
|
Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTOPOA
public UTOPOA()
_this
public UTO _this()
_this
public UTO _this(org.omg.CORBA.ORB orb)
_all_interfaces
public java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa,
byte[] objectId)
- Specified by:
_all_interfaces
in class org.omg.PortableServer.Servant
_invoke
public final org.omg.CORBA.portable.OutputStream _invoke(java.lang.String opName,
org.omg.CORBA.portable.InputStream _is,
org.omg.CORBA.portable.ResponseHandler handler)
- Specified by:
_invoke
in interface org.omg.CORBA.portable.InvokeHandler