|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PortableObject
The PortableObject interface is implemented by Java classes that can self- serialize and deserialize their state to and from a POF data stream.
ThereadExternal(com.tangosol.io.pof.PofReader) and writeExternal(com.tangosol.io.pof.PofWriter) methods of the PortableObject interface are implemented by a class to give the class complete control its own POF serialization and deserialization.
PofReader, PofWriter| Method Summary | |
|---|---|
void |
readExternal(PofReader in)Restore the contents of a user type instance by reading its state using the specified PofReader object. |
void |
writeExternal(PofWriter out)Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
| Method Detail |
|---|
void readExternal(PofReader in)
throws java.io.IOException
in - the PofReader from which to read the object's statejava.io.IOException - if an I/O error occurs
void writeExternal(PofWriter out)
throws java.io.IOException
out - the PofWriter to which to write the object's statejava.io.IOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||