org.omg.PortableInterceptor
public abstract class AdapterStateHelper extends Object
Since: 1.5
Method Summary | |
---|---|
static short | extract(Any any)
Extract the short from given Any.
|
static String | id()
Get the adapter state repository id.
|
static void | insert(Any any, short that)
Insert the short into the given Any. |
static short | read(InputStream input)
Read the short (adapter state) from the CDR intput stream.
|
static TypeCode | type()
Create the AdapterState typecode (alias of short ,
named "AdapterState"). |
static void | write(OutputStream output, short value)
Write the short (adapter state) to the CDR output stream.
|
short
from given Any.
Throws: BAD_OPERATION if the passed Any does not contain int.
Returns: "IDL:omg.org/PortableInterceptor/AdapterState:1.0", always.
short
into the given Any.short
(adapter state) from the CDR intput stream.
Parameters: input a org.omg.CORBA.portable stream to read from.
short
,
named "AdapterState").short
(adapter state) to the CDR output stream.
Parameters: output a org.omg.CORBA.portable stream stream to write into. value a value to write.