org.omg.IOP
Class ServiceContextHelper

java.lang.Object
org.omg.IOP.ServiceContextHelper
- public abstract class ServiceContextHelper
- extends java.lang.Object
A helper operations for the structure ServiceContext.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeCode
private static org.omg.CORBA.TypeCode typeCode
- The cached typecode value, computed only once.
ServiceContextHelper
public ServiceContextHelper()
type
public static org.omg.CORBA.TypeCode type()
- Create the ServiceContext typecode (structure,
named "ServiceContext").
The typecode states that the structure contains the
following fields: context_id, context_data.
insert
public static void insert(org.omg.CORBA.Any any,
ServiceContext that)
- Insert the ServiceContext into the given Any.
This method uses the ServiceContextHolder.
extract
public static ServiceContext extract(org.omg.CORBA.Any any)
- Extract the ServiceContext from given Any.
This method uses the ServiceContextHolder.
id
public static java.lang.String id()
- Get the ServiceContext repository id.
read
public static ServiceContext read(org.omg.CORBA.portable.InputStream input)
- Read the context from the CDR intput stream (first id, then
data as a flexible length byte sequence).
write
public static void write(org.omg.CORBA.portable.OutputStream output,
ServiceContext value)
- Write the context to the CDR output stream (first id, then
data as a flexible length byte sequence).