com.sleepycat.je.rep.elections
Class Protocol.Reject
java.lang.Object
com.sleepycat.je.rep.impl.TextProtocol.Message
com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
com.sleepycat.je.rep.elections.Protocol.Reject
- All Implemented Interfaces:
- TextProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.Reject
- extends TextProtocol.ResponseMessage
Reject response to a message.
Protocol.Reject
Protocol.Reject(Proposer.Proposal higherProposal)
Protocol.Reject
public Protocol.Reject(String responseLine,
String[] tokens)
throws TextProtocol.InvalidMessageException
- Throws:
TextProtocol.InvalidMessageException
hashCode
public int hashCode()
- Overrides:
hashCode
in class TextProtocol.ResponseMessage
equals
public boolean equals(Object obj)
- Overrides:
equals
in class TextProtocol.ResponseMessage
getOp
public TextProtocol.MessageOp getOp()
- Specified by:
getOp
in class TextProtocol.Message
wireFormat
public String wireFormat()
getHigherProposal
Proposer.Proposal getHigherProposal()
Copyright (c) 2004-2012 Oracle. All rights reserved.