Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Streamable
The base class for the Holder classess of all complex IDL types. The ORB treats all generated Holders as Streamable to invoke the methods for marshalling and unmarshalling.
| Method Summary | |
|---|---|
void |
_read(InputStream istream)
Reads data from istream and initalizes the
value field of the Holder with the unmarshalled data. |
TypeCode |
_type()
Retrieves the TypeCode object corresponding to the value
in the value field of the Holder. |
void |
_write(OutputStream ostream)
Marshals to ostream the value in the
value field of the Holder. |
| Method Detail |
|---|
void _read(InputStream istream)
istream and initalizes the
value field of the Holder with the unmarshalled data.
istream - the InputStream that represents the CDR data from the wire.void _write(OutputStream ostream)
ostream the value in the
value field of the Holder.
ostream - the CDR OutputStreamTypeCode _type()
TypeCode object corresponding to the value
in the value field of the Holder.
TypeCode object for the value held in the holder
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.