Javadoc
Return the Version
reading from given
DataInput as serialized by
#writeOrdinal(DataOutput,boolean).
If the incoming ordinal is greater than or equal to current ordinal then this will return null
or
#CURRENT indicating that version is same as that of
#CURRENT assuming that
peer will support this JVM.
This method is not meant to be used for client-server protocol since servers cannot support
higher version clients, rather is only meant for P2P/JGroups messaging where a mixed version of
servers can be running at the same time. Similarly cannot be used when recovering from disk
since higher version data cannot be read.