public abstract class AdapterStateHelper extends Object
Constructor and Description |
---|
AdapterStateHelper() |
Modifier and Type | Method and Description |
---|---|
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. |
public AdapterStateHelper()
public static TypeCode type()
short
,
named "AdapterState").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.