public final class AnySeqHolder extends Object implements Streamable
AnySeq
that is mapped into
java Any[]
.Modifier and Type | Field and Description |
---|---|
Any[] |
value
The
Any[] (CORBA AnySeq ) value,
held by this AnySeqHolder. |
Constructor and Description |
---|
AnySeqHolder()
Constructs an instance of AnySeqHolder,
initializing
value to null . |
AnySeqHolder(Any[] a_value)
Constructs an instance of AnySeqHolder,
initializing
value to the given array |
Modifier and Type | Method and Description |
---|---|
void |
_read(InputStream input)
Fill in the
value field by reading the required data
from the given stream. |
TypeCode |
_type()
Returns the TypeCode, corresponding the CORBA type that is stored
using this holder.
|
void |
_write(OutputStream output)
Write the
value field to the given stream. |
public AnySeqHolder()
value
to null
.public AnySeqHolder(Any[] a_value)
value
to the given arraypublic void _read(InputStream input)
value
field by reading the required data
from the given stream. This method first reads the array size
(as CORBA long
and then all Any's._read
in interface Streamable
input
- the input stream to read from.public TypeCode _type()
_type
in interface Streamable
public void _write(OutputStream output)
value
field to the given stream.
This method first writes the array size
(as CORBA long
and then all Any's._write
in interface Streamable
output
- the output stream to write into.