public interface ISerializable
Modifier and Type | Method and Description |
---|---|
void |
readObject(IObjectInput input)
This method is called when an implementing object is deserialized.
|
void |
writeObject(IObjectOutput output)
This method is called when an implementing object is serialized.
|
void readObject(IObjectInput input) throws java.io.IOException
input
- The input stream used to deserialize from.java.io.IOException
- Thrown if an exception occurs while reading the object.void writeObject(IObjectOutput output) throws java.io.IOException
output
- The output stream used to serialize the object.java.io.IOException
- Thrown if an exception occurs.