org.omg.CORBA
Class ServiceOptionHelper

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

public class ServiceOptionHelper
extends java.lang.Object

Helper class for : ServiceOption

Author:
OpenORB Compiler

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

Constructor Detail

ServiceOptionHelper

public ServiceOptionHelper()
Method Detail

insert

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

extract

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

type

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

id

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

read

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

write

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