public interface PortableObject
The readExternal(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.
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
void readExternal(PofReader in) throws IOException
in - the PofReader from which to read the object's stateIOException - if an I/O error occursvoid writeExternal(PofWriter out) throws IOException
out - the PofWriter to which to write the object's stateIOException - if an I/O error occurs