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
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 |
ServiceTypeHelper
public ServiceTypeHelper()
insert
public static void insert(Any a,
short t)
- Insert ServiceType into an any
- Parameters:
a
- an anyt
- 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 streamvalue
- ServiceType value