org.omg.CSI
Class ContextIdHelper

java.lang.Object
  |
  +--org.omg.CSI.ContextIdHelper

public class ContextIdHelper
extends java.lang.Object

Helper class for : ContextId

Author:
OpenORB Compiler

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

Constructor Detail

ContextIdHelper

public ContextIdHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          long t)
Insert ContextId into an any
Parameters:
a - an any
t - ContextId value

extract

public static long extract(org.omg.CORBA.Any a)
Extract ContextId from an any
Parameters:
a - an any
Returns:
the extracted ContextId value

type

public static org.omg.CORBA.TypeCode type()
Return the ContextId TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the ContextId IDL ID
Returns:
an ID

read

public static long read(org.omg.CORBA.portable.InputStream istream)
Read ContextId from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed ContextId value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         long value)
Write ContextId into a marshalled stream
Parameters:
ostream - the output stream
value - ContextId value