public static class WrapperBufferInput.VersionAwareBufferInput extends WrapperBufferInput
WrapperBufferInput.VersionAwareBufferInput
Modifier and Type | Field and Description |
---|---|
protected com.tangosol.internal.net.MessageComponent |
f_message
The associated message received by this recipient.
|
m_in, m_loader
Constructor and Description |
---|
VersionAwareBufferInput(DataInput in,
ClassLoader loader,
com.tangosol.internal.net.MessageComponent msg)
Construct a WrapperBufferInput that will read from the specified object
implementing the DataInput interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPatchCompatible(int nEncodedVersion)
Determine whether the sender of the content of this BufferInput
run versions that are the same as the encode version with the same or a
higher patch level.
|
boolean |
isVersionCompatible(int nEncodedVersion)
Determine whether the sender of the content of this BufferInput
runs a version that supersedes (greater or equal to) the specified
version.
|
boolean |
isVersionCompatible(int nYear,
int nMonth,
int nPatch)
Determine whether the sender of the content of this BufferInput
runs a version that supersedes (greater or equal to) the specified
version.
|
boolean |
isVersionCompatible(int nMajor,
int nMinor,
int nMicro,
int nPatchSet,
int nPatch)
Determine whether the sender of the content of this BufferInput
runs a version that supersedes (greater or equal to) the specified
version.
|
getBuffer, getDataInput, getObjectInputFilter, getOffset, readBuffer, readPackedInt, readPackedLong, readSafeUTF, setObjectInputFilter, setOffset
available, close, getClassLoader, mark, markSupported, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, reset, setClassLoader, skip, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
available, close, mark, markSupported, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
protected final com.tangosol.internal.net.MessageComponent f_message
public VersionAwareBufferInput(DataInput in, ClassLoader loader, com.tangosol.internal.net.MessageComponent msg)
in
- an object implementing DataInput to read fromloader
- the ClassLoadermsg
- the associated message received from the recipientpublic boolean isVersionCompatible(int nMajor, int nMinor, int nMicro, int nPatchSet, int nPatch)
public boolean isVersionCompatible(int nYear, int nMonth, int nPatch)
public boolean isVersionCompatible(int nEncodedVersion)
public boolean isPatchCompatible(int nEncodedVersion)