org.omg.IOP
Constructor and Description |
---|
IORHelper() |
Modifier and Type | Method and Description |
---|---|
static IOR |
extract(Any any)
Extract the IOR from given Any.
|
static String |
id()
Get the IOR repository id.
|
static void |
insert(Any any,
IOR that)
Insert the IOR into the given Any.
|
static IOR |
read(InputStream input)
Read the structure from the CDR intput stream.
|
static TypeCode |
type()
Create the IOR typecode (structure, named "IOR").
|
static void |
write(OutputStream output,
IOR value)
Write the structure to the CDR output stream.
|
public IORHelper()
public static TypeCode type()
public static void insert(Any any, IOR that)
any
- the Any to insert into.that
- the IOR to insert.public static IOR extract(Any any)
BAD_OPERATION
- if the passed Any does not contain IOR.public static IOR read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.public static void write(OutputStream output, IOR value)
output
- a org.omg.CORBA.portable stream stream to write into.value
- a value to write.