public class Protocol.Accepted extends TextProtocol.ResponseMessage
messagePrefixNocheck, sendVersion
Constructor and Description |
---|
Protocol.Accepted(Proposer.Proposal proposal,
Protocol.Value value) |
Protocol.Accepted(java.lang.String responseLine,
java.lang.String[] tokens) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TextProtocol.MessageOp |
getOp() |
Proposer.Proposal |
getProposal() |
Protocol.Value |
getValue() |
int |
hashCode() |
java.lang.String |
wireFormat() |
wireFormatPrefix
getCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
Protocol.Accepted(Proposer.Proposal proposal, Protocol.Value value)
public Protocol.Accepted(java.lang.String responseLine, java.lang.String[] tokens) throws TextProtocol.InvalidMessageException
public int hashCode()
hashCode
in class TextProtocol.ResponseMessage
public boolean equals(java.lang.Object obj)
equals
in class TextProtocol.ResponseMessage
public TextProtocol.MessageOp getOp()
getOp
in class TextProtocol.Message
public java.lang.String wireFormat()
public Protocol.Value getValue()
public Proposer.Proposal getProposal()
Copyright (c) 2004-2012 Oracle. All rights reserved.