|
Préférences
Moteurs de recherche
|
||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
org.omg.CORBA
|
Field Summary | |
---|---|
TypeCode |
value
The TypeCode value held by
this TypeCodeHolder object. |
Constructor Summary | |
---|---|
TypeCodeHolder()
Constructs a new TypeCodeHolder object with its
value field initialized to null . |
|
TypeCodeHolder(TypeCode initial)
Constructs a new TypeCodeHolder object with its
value field initialized to the given
TypeCode object. |
Method Summary | |
---|---|
void |
_read(InputStream input)
Reads from input and initalizes the value in
this TypeCodeHolder object
with the unmarshalled data. |
TypeCode |
_type()
Returns the TypeCode corresponding to the value held in this TypeCodeHolder object. |
void |
_write(OutputStream output)
Marshals to output the value in
this TypeCodeHolder object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TypeCode value
TypeCode
value held by
this TypeCodeHolder
object.
Constructor Detail |
---|
public TypeCodeHolder()
TypeCodeHolder
object with its
value
field initialized to null
.
public TypeCodeHolder(TypeCode initial)
TypeCodeHolder
object with its
value
field initialized to the given
TypeCode
object.
initial
- the TypeCode
object with which to initialize
the value
field of the newly-created
TypeCodeHolder
objectMethod Detail |
---|
public void _read(InputStream input)
input
and initalizes the value in
this TypeCodeHolder
object
with the unmarshalled data.
_read
in interface Streamable
input
- the InputStream containing CDR formatted data from the wirepublic void _write(OutputStream output)
output
the value in
this TypeCodeHolder
object.
_write
in interface Streamable
output
- the OutputStream which will contain the CDR formatted datapublic TypeCode _type()
TypeCodeHolder
object.
_type
in interface Streamable
TypeCodeHolder
object