|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValueHandlerMultiFormat
This interface extends the previous ValueHandler, supporting various stream
format versions. The ValueHandler can be casted into this interface
to access additional features.
| Method Summary | |
|---|---|
byte |
getMaximumStreamFormatVersion()
Get the maximal supported version for the value types, supported by this value handler. |
void |
writeValue(OutputStream output,
Serializable value,
byte version)
Write the value type to the output stream using the given format version. |
| Methods inherited from interface javax.rmi.CORBA.ValueHandler |
|---|
getRMIRepositoryID, getRunTimeCodeBase, isCustomMarshaled, readValue, writeReplace, writeValue |
| Method Detail |
|---|
byte getMaximumStreamFormatVersion()
void writeValue(OutputStream output,
Serializable value,
byte version)
ValueHandler.writeValue(org.omg.CORBA.portable.OutputStream, java.io.Serializable) always uses the version 1.
output - the stream, where the value should be written, must implement
ValueOutputStream.value - the value that should be written.version - the version of the format that must be used to write the
value.
BAD_PARAM - if the version number is less than 1 or greater than the
maximal supported version.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||