com.sleepycat.je.rep.utilint
Class BinaryProtocol.RejectMessage
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.utilint.BinaryProtocol.RejectMessage
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Direct Known Subclasses:
- BinaryProtocol.IncompatibleVersion, BinaryProtocol.ProtocolError, Protocol.DbMismatch, Protocol.DuplicateNodeReject, Protocol.Error, Protocol.JEVersionsReject, Protocol.NodeGroupInfoReject
- Enclosing class:
- BinaryProtocol
public abstract class BinaryProtocol.RejectMessage
- extends BinaryProtocol.SimpleMessage
The base class for reject responses to requests
errorMessage
protected String errorMessage
BinaryProtocol.RejectMessage
protected BinaryProtocol.RejectMessage(String errorMessage)
BinaryProtocol.RejectMessage
public BinaryProtocol.RejectMessage(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
getErrorMessage
public String getErrorMessage()
toString
public String toString()
- Overrides:
toString
in class BinaryProtocol.Message
Copyright (c) 2004-2012 Oracle. All rights reserved.