public interface ObjectMismatchTrigger
This interface will only affect Managed types.
Modifier and Type | Method and Description |
---|---|
void |
readObjectFromStream(ManagedObjectStreamClass remoteClassDescriptor,
java.io.ObjectInputStream in)
Called when reading data from a mismatched node.
|
void |
writeObjectToStream(ManagedObjectStreamClass remoteClassDescriptor,
java.io.ObjectOutputStream out)
Called when writing data to a mismatched node.
|
void writeObjectToStream(ManagedObjectStreamClass remoteClassDescriptor, java.io.ObjectOutputStream out) throws java.io.IOException
remoteClassDescriptor
- ManagedObjectStreamClass to use.out
- Output stream that is written to.java.io.IOException
- An IO exception happened during the write.void readObjectFromStream(ManagedObjectStreamClass remoteClassDescriptor, java.io.ObjectInputStream in) throws java.io.IOException
remoteClassDescriptor
- ManagedObjectStreamClass to use.in
- Inout stream that is read from.java.io.IOException
- An IO exception happened during the read.