org.omg.Messaging
Class RoutingTypeHelper

java.lang.Object
  |
  +--org.omg.Messaging.RoutingTypeHelper

public class RoutingTypeHelper
extends java.lang.Object

Helper class for : RoutingType

Author:
OpenORB Compiler

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

Constructor Detail

RoutingTypeHelper

public RoutingTypeHelper()
Method Detail

insert

public static void insert(Any a,
                          short t)
Insert RoutingType into an any
Parameters:
a - an any
t - RoutingType value

extract

public static short extract(Any a)
Extract RoutingType from an any
Parameters:
a - an any
Returns:
the extracted RoutingType value

type

public static TypeCode type()
Return the RoutingType TypeCode
Returns:
a TypeCode

id

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

read

public static short read(InputStream istream)
Read RoutingType from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed RoutingType value

write

public static void write(OutputStream ostream,
                         short value)
Write RoutingType into a marshalled stream
Parameters:
ostream - the output stream
value - RoutingType value