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() |
wireFormatPrefixgetCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersionProtocol.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.ResponseMessagepublic boolean equals(java.lang.Object obj)
equals in class TextProtocol.ResponseMessagepublic TextProtocol.MessageOp getOp()
getOp in class TextProtocol.Messagepublic java.lang.String wireFormat()
public Protocol.Value getValue()
public Proposer.Proposal getProposal()
Copyright (c) 2004-2012 Oracle. All rights reserved.