org.omg.CORBA
public final class PolicyHolder extends Object implements Streamable
Policy
.Constructor and Description |
---|
PolicyHolder()
Create the uninitialised instance, leaving the value field
with default
null value. |
PolicyHolder(Policy initialValue)
Create the initialised instance.
|
Modifier and Type | Method and Description |
---|---|
void |
_read(InputStream input)
Fill in the
value by data from the CDR stream. |
TypeCode |
_type()
Get the typecode of the Policy.
|
void |
_write(OutputStream output)
Write the stored value into the CDR stream.
|
public PolicyHolder()
null
value.public PolicyHolder(Policy initialValue)
initialValue
- the value that will be assigned to
the value
field.public void _read(InputStream input)
value
by data from the CDR stream.
Delegates work to PolicyHelper
._read
in interface Streamable
input
- the org.omg.CORBA.portable stream to read.public void _write(OutputStream output)
PolicyHelper
._write
in interface Streamable
output
- the org.omg.CORBA.portable stream to write.public TypeCode _type()
PolicyHelper
._type
in interface Streamable