com.sleepycat.je.rep.stream
Class Protocol.JEVersions
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.stream.Protocol.HandshakeMessage
com.sleepycat.je.rep.stream.Protocol.JEVersions
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Direct Known Subclasses:
- Protocol.FeederJEVersions, Protocol.ReplicaJEVersions
- Enclosing class:
- Protocol
abstract class Protocol.JEVersions
- extends Protocol.HandshakeMessage
Abstract message used as the basis for the exchange of software versions
between replicated nodes
Protocol.JEVersions
public Protocol.JEVersions(JEVersion version,
int logVersion)
Protocol.JEVersions
public Protocol.JEVersions(ByteBuffer buffer)
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class BinaryProtocol.Message
getVersion
public JEVersion getVersion()
getLogVersion
public byte getLogVersion()
Copyright (c) 2004-2012 Oracle. All rights reserved.