public class Protocol.Accepted extends TextProtocol.ResponseMessage
messagePrefixNocheck, sendVersion| Constructor and Description |
|---|
Accepted(String responseLine,
String[] tokens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TextProtocol.MessageOp |
getOp() |
Proposer.Proposal |
getProposal() |
Protocol.Value |
getValue() |
int |
hashCode() |
String |
wireFormat() |
wireFormatPrefixgetCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, hasMoreTokens, nextPayloadToken, setSendVersionpublic Accepted(String responseLine, String[] tokens) throws TextProtocol.InvalidMessageException
public int hashCode()
hashCode in class TextProtocol.ResponseMessagepublic boolean equals(Object obj)
equals in class TextProtocol.ResponseMessagepublic TextProtocol.MessageOp getOp()
getOp in class TextProtocol.Messagepublic String wireFormat()
public Protocol.Value getValue()
public Proposer.Proposal getProposal()
Copyright © 2024. All rights reserved.