org.openorb.ots
Class XIDHelper

java.lang.Object
  extended by org.openorb.ots.XIDHelper

public class XIDHelper
extends java.lang.Object

Helper class for : XID

Author:
OpenORB Compiler

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

Constructor Detail

XIDHelper

public XIDHelper()
Method Detail

insert

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

Parameters:
a - an any
t - XID value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - XID value