org.omg.CosTime

Class TIOHelper

public class TIOHelper extends Object

Helper class for : TIO

Author: OpenORB Compiler

Method Summary
static TIOextract(Any a)
Extract TIO from an any
static Stringid()
Return the TIO IDL ID
static voidinsert(Any a, TIO t)
Insert TIO into an any
static TIOnarrow(Object obj)
Narrow CORBA::Object to TIO
static TIOread(InputStream istream)
Read TIO from a marshalled stream
static TypeCodetype()
Return the TIO TypeCode
static TIOunchecked_narrow(Object obj)
Unchecked Narrow CORBA::Object to TIO
static voidwrite(OutputStream ostream, TIO value)
Write TIO into a marshalled stream

Method Detail

extract

public static TIO extract(Any a)
Extract TIO from an any

Parameters: a an any

Returns: the extracted TIO value

id

public static String id()
Return the TIO IDL ID

Returns: an ID

insert

public static void insert(Any a, TIO t)
Insert TIO into an any

Parameters: a an any t TIO value

narrow

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

Parameters: obj the CORBA Object

Returns: TIO Object

read

public static TIO read(InputStream istream)
Read TIO from a marshalled stream

Parameters: istream the input stream

Returns: the readed TIO value

type

public static TypeCode type()
Return the TIO TypeCode

Returns: a TypeCode

unchecked_narrow

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

Parameters: obj the CORBA Object

Returns: TIO Object

write

public static void write(OutputStream ostream, TIO value)
Write TIO into a marshalled stream

Parameters: ostream the output stream value TIO value