org.omg.CosTransactions

Class CurrentHelper

public class CurrentHelper extends Object

Helper class for : Current

Author: OpenORB Compiler

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

Method Detail

extract

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

Parameters: a an any

Returns: the extracted Current value

id

public static String id()
Return the Current IDL ID

Returns: an ID

insert

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

Parameters: a an any t Current value

narrow

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

Parameters: obj the CORBA Object

Returns: Current Object

read

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

Parameters: istream the input stream

Returns: the readed Current value

type

public static TypeCode type()
Return the Current TypeCode

Returns: a TypeCode

unchecked_narrow

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

Parameters: obj the CORBA Object

Returns: Current Object

write

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

Parameters: ostream the output stream value Current value