public interface ValueHandlerMultiFormat extends ValueHandler
| Modifier and Type | Method and Description |
|---|---|
byte |
getMaximumStreamFormatVersion()
Returns the maximum stream format version for
RMI/IDL custom value types that is supported
by this ValueHandler object.
|
void |
writeValue(OutputStream out,
Serializable value,
byte streamFormatVersion)
Allows the ORB to pass the stream format
version for RMI/IDL custom value types.
|
getRMIRepositoryID, getRunTimeCodeBase, isCustomMarshaled, readValue, writeReplace, writeValuebyte getMaximumStreamFormatVersion()
void writeValue(OutputStream out, Serializable value, byte streamFormatVersion)
If the ORB calls the older ValueHandler.writeValue(OutputStream, Serializable) method, stream format version 1 is implied.
The ORB output stream passed to the ValueHandlerMultiFormat.writeValue method must implement the ValueOutputStream interface, and the ORB input stream passed to the ValueHandler.readValue method must implement the ValueInputStream interface.out - stream to write the value out tovalue - a Serializable value to writestreamFormatVersion - stream format versionCopyright © 2017–2023 Eclipse Foundation. All rights reserved.