public class Protocol.Accept extends Protocol.Propose
proposal
messagePrefixNocheck, 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() |
getProposal
wireFormatPrefix
getCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
Protocol.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.Propose
public boolean equals(java.lang.Object obj)
equals
in class Protocol.Propose
public TextProtocol.MessageOp getOp()
getOp
in class Protocol.Propose
public java.lang.String wireFormat()
wireFormat
in interface TextProtocol.WireFormatable
wireFormat
in class Protocol.Propose
Protocol.Value getValue()
Copyright (c) 2004-2012 Oracle. All rights reserved.