public class Protocol.Accept extends Protocol.Propose
proposalmessagePrefixNocheck, sendVersion| Constructor and Description |
|---|
Protocol.Accept(Proposer.Proposal proposal,
Protocol.Value value) |
Protocol.Accept(java.lang.String requestLine,
java.lang.String[] tokens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
TextProtocol.MessageOp |
getOp() |
(package private) Protocol.Value |
getValue() |
int |
hashCode() |
java.lang.String |
wireFormat() |
getProposalwireFormatPrefixgetCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersionProtocol.Accept(Proposer.Proposal proposal, Protocol.Value value)
public Protocol.Accept(java.lang.String requestLine,
java.lang.String[] tokens)
throws TextProtocol.InvalidMessageException
public int hashCode()
hashCode in class Protocol.Proposepublic boolean equals(java.lang.Object obj)
equals in class Protocol.Proposepublic TextProtocol.MessageOp getOp()
getOp in class Protocol.Proposepublic java.lang.String wireFormat()
wireFormat in interface TextProtocol.WireFormatablewireFormat in class Protocol.ProposeProtocol.Value getValue()
Copyright (c) 2004-2012 Oracle. All rights reserved.