org.omg.CSI
Class MsgTypeHelper

java.lang.Object
  extended by org.omg.CSI.MsgTypeHelper

public class MsgTypeHelper
extends java.lang.Object

Helper class for : MsgType

Author:
OpenORB Compiler

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

Constructor Detail

MsgTypeHelper

public MsgTypeHelper()
Method Detail

insert

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

Parameters:
a - an any
t - MsgType value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - MsgType value