org.omg.CosTransactions
Class StatusHelper

java.lang.Object
  extended byorg.omg.CosTransactions.StatusHelper

public class StatusHelper
extends java.lang.Object

Helper class for : Status

Author:
OpenORB Compiler

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

Constructor Detail

StatusHelper

public StatusHelper()
Method Detail

insert

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

Parameters:
a - an any
t - Status value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - Status value