org.omg.CosTime
Class TIOHelper

java.lang.Object
  extended by org.omg.CosTime.TIOHelper

public class TIOHelper
extends java.lang.Object

Helper class for : TIO

Author:
OpenORB Compiler

Constructor Summary
TIOHelper()
           
 
Method Summary
static TIO extract(org.omg.CORBA.Any a)
          Extract TIO from an any
static java.lang.String id()
          Return the TIO IDL ID
static void insert(org.omg.CORBA.Any a, TIO t)
          Insert TIO into an any
static TIO narrow(org.omg.CORBA.Object obj)
          Narrow CORBA::Object to TIO
static TIO read(org.omg.CORBA.portable.InputStream istream)
          Read TIO from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the TIO TypeCode
static TIO unchecked_narrow(org.omg.CORBA.Object obj)
          Unchecked Narrow CORBA::Object to TIO
static void write(org.omg.CORBA.portable.OutputStream ostream, TIO value)
          Write TIO into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIOHelper

public TIOHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          TIO t)
Insert TIO into an any

Parameters:
a - an any
t - TIO value

extract

public static TIO extract(org.omg.CORBA.Any a)
Extract TIO from an any

Parameters:
a - an any
Returns:
the extracted TIO value

type

public static org.omg.CORBA.TypeCode type()
Return the TIO TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the TIO IDL ID

Returns:
an ID

read

public static TIO read(org.omg.CORBA.portable.InputStream istream)
Read TIO from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed TIO value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         TIO value)
Write TIO into a marshalled stream

Parameters:
ostream - the output stream
value - TIO value

narrow

public static TIO narrow(org.omg.CORBA.Object obj)
Narrow CORBA::Object to TIO

Parameters:
obj - the CORBA Object
Returns:
TIO Object

unchecked_narrow

public static TIO unchecked_narrow(org.omg.CORBA.Object obj)
Unchecked Narrow CORBA::Object to TIO

Parameters:
obj - the CORBA Object
Returns:
TIO Object