|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.IOP.ServiceContextHelper
public abstract class ServiceContextHelper
A helper operations for the structure ServiceContext.
| Constructor Summary | |
|---|---|
ServiceContextHelper()
|
|
| Method Summary | |
|---|---|
static ServiceContext |
extract(Any any)
Extract the ServiceContext from given Any. |
static String |
id()
Get the ServiceContext repository id. |
static void |
insert(Any any,
ServiceContext that)
Insert the ServiceContext into the given Any. |
static ServiceContext |
read(InputStream input)
Read the context from the CDR intput stream (first id, then data as a flexible length byte sequence). |
static TypeCode |
type()
Create the ServiceContext typecode (structure, named "ServiceContext"). |
static void |
write(OutputStream output,
ServiceContext value)
Write the context to the CDR output stream (first id, then data as a flexible length byte sequence). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceContextHelper()
| Method Detail |
|---|
public static TypeCode type()
public static void insert(Any any,
ServiceContext that)
any - the Any to insert into.that - the ServiceContext to insert.public static ServiceContext extract(Any any)
BAD_OPERATION - if the passed Any does not contain ServiceContext.public static String id()
public static ServiceContext read(InputStream input)
input - a org.omg.CORBA.portable stream to read from.
public static void write(OutputStream output,
ServiceContext value)
output - a org.omg.CORBA.portable stream stream to write into.value - a value to write.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||