org.omg.CORBA
Class ServiceTypeHelper

java.lang.Object
  |
  +--org.omg.CORBA.ServiceTypeHelper

public class ServiceTypeHelper
extends java.lang.Object

Helper class for : ServiceType

Author:
OpenORB Compiler

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

Constructor Detail

ServiceTypeHelper

public ServiceTypeHelper()
Method Detail

insert

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

extract

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

type

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

id

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

read

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

write

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