public class Protocol.Propose extends TextProtocol.RequestMessage
| Modifier and Type | Field and Description |
|---|---|
protected Proposer.Proposal |
proposal |
messagePrefixNocheck, sendVersion| Constructor and Description |
|---|
Propose(String requestLine,
String[] tokens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TextProtocol.MessageOp |
getOp() |
int |
hashCode() |
String |
wireFormat() |
wireFormatPrefixgetCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, hasMoreTokens, nextPayloadToken, setSendVersionprotected final Proposer.Proposal proposal
public Propose(String requestLine, String[] tokens) throws TextProtocol.InvalidMessageException
public int hashCode()
hashCode in class TextProtocol.RequestMessagepublic boolean equals(Object obj)
equals in class TextProtocol.RequestMessagepublic TextProtocol.MessageOp getOp()
getOp in class TextProtocol.Messagepublic String wireFormat()
Copyright © 2024. All rights reserved.