org.omg.TimeBase

Class TimeTHelper

public class TimeTHelper extends Object

Helper class for : TimeT

Author: OpenORB Compiler

Method Summary
static longextract(Any a)
Extract TimeT from an any
static Stringid()
Return the TimeT IDL ID
static voidinsert(Any a, long t)
Insert TimeT into an any
static longread(InputStream istream)
Read TimeT from a marshalled stream
static TypeCodetype()
Return the TimeT TypeCode
static voidwrite(OutputStream ostream, long value)
Write TimeT into a marshalled stream

Method Detail

extract

public static long extract(Any a)
Extract TimeT from an any

Parameters: a an any

Returns: the extracted TimeT value

id

public static String id()
Return the TimeT IDL ID

Returns: an ID

insert

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

Parameters: a an any t TimeT value

read

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

Parameters: istream the input stream

Returns: the readed TimeT value

type

public static TypeCode type()
Return the TimeT TypeCode

Returns: a TypeCode

write

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

Parameters: ostream the output stream value TimeT value