public final class PrincipalHolder extends Object implements Streamable
Principal
.Modifier and Type | Field and Description |
---|---|
Principal |
value
Deprecated.
The instance of
Principal , held by this holder. |
Constructor and Description |
---|
PrincipalHolder()
Deprecated.
Constructs an instance of PrincipalHolder,
initializing
value to null . |
PrincipalHolder(Principal initial_value)
Deprecated.
Constructs an instance of PrincipalHolder,
initializing
value to the passed parameter. |
Modifier and Type | Method and Description |
---|---|
void |
_read(InputStream input)
Deprecated.
Fill in the
value field by reading the required data
from the given stream. |
TypeCode |
_type()
Deprecated.
Returns the TypeCode, corresponding the CORBA type that is stored
using this holder.
|
void |
_write(OutputStream output)
Deprecated.
Write the
value field to the given stream. |
public PrincipalHolder()
value
to null
.public PrincipalHolder(Principal initial_value)
value
to the passed parameter.initial_value
- a value that will be assigned to the
value
field.public void _read(InputStream input)
value
field by reading the required data
from the given stream. For Principal
, the functionality
is delegated to
InputStream.read_Principal()
._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.
For Principal
the functionality
is delegated to
OutputStream.write_Principal(Principal)
._write
in interface Streamable
output
- the output stream to write into.