|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableInterceptor.AdapterStateHelper
public abstract class AdapterStateHelper
A helper operations for the adapter state. An adapter state is an short integer constant and needs no helper, but the one is included anyway.
| Constructor Summary | |
|---|---|
AdapterStateHelper()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdapterStateHelper()
| Method Detail |
|---|
public static TypeCode type()
short,
named "AdapterState").
public static void insert(Any any,
short that)
short into the given Any.
public static short extract(Any any)
short from given Any.
BAD_OPERATION - if the passed Any does not contain int.public static String id()
public static short read(InputStream input)
short (adapter state) from the CDR intput stream.
input - a org.omg.CORBA.portable stream to read from.
public static void write(OutputStream output,
short value)
short (adapter state) to the CDR output stream.
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 | ||||||||