public abstract class ServiceContextHelper extends java.lang.Object
ServiceContext.| Constructor and Description |
|---|
ServiceContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceContext |
extract(org.omg.CORBA.Any any)
Extract the ServiceContext from given Any.
|
static java.lang.String |
id()
Get the ServiceContext repository id.
|
static void |
insert(org.omg.CORBA.Any any,
ServiceContext that)
Insert the ServiceContext into the given Any.
|
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).
|
static org.omg.CORBA.TypeCode |
type()
Create the ServiceContext typecode (structure, named "ServiceContext").
|
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).
|
public ServiceContextHelper()
public static org.omg.CORBA.TypeCode type()
public static void insert(org.omg.CORBA.Any any, ServiceContext that)
any - the Any to insert into.that - the ServiceContext to insert.public static ServiceContext extract(org.omg.CORBA.Any any)
org.omg.CORBA.BAD_OPERATION - if the passed Any does not contain ServiceContext.public static java.lang.String id()
public static ServiceContext read(org.omg.CORBA.portable.InputStream input)
input - a org.omg.CORBA.portable stream to read from.public static void write(org.omg.CORBA.portable.OutputStream output, ServiceContext value)
output - a org.omg.CORBA.portable stream stream to write into.value - a value to write.