com.sleepycat.je.rep.elections
Class Protocol.MasterQueryResponse

java.lang.Object
  extended by com.sleepycat.je.rep.impl.TextProtocol.Message
      extended by com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
          extended by com.sleepycat.je.rep.elections.Protocol.Accepted
              extended by com.sleepycat.je.rep.elections.Protocol.MasterQueryResponse
All Implemented Interfaces:
TextProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.MasterQueryResponse
extends Protocol.Accepted

The response to a Master Query request. It simply repackages the Accepted response.


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
messagePrefixNocheck, sendVersion
 
Constructor Summary
Protocol.MasterQueryResponse(Proposer.Proposal proposal, Protocol.Value value)
           
Protocol.MasterQueryResponse(String responseLine, String[] tokens)
           
 
Method Summary
protected  String getMessagePrefix()
           
 TextProtocol.MessageOp getOp()
           
 
Methods inherited from class com.sleepycat.je.rep.elections.Protocol.Accepted
equals, getProposal, getValue, hashCode, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
wireFormatPrefix
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
getCurrentTokenPosition, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol.MasterQueryResponse

Protocol.MasterQueryResponse(Proposer.Proposal proposal,
                             Protocol.Value value)

Protocol.MasterQueryResponse

public Protocol.MasterQueryResponse(String responseLine,
                                    String[] tokens)
                             throws TextProtocol.InvalidMessageException
Throws:
TextProtocol.InvalidMessageException
Method Detail

getOp

public TextProtocol.MessageOp getOp()
Overrides:
getOp in class Protocol.Accepted

getMessagePrefix

protected String getMessagePrefix()
Overrides:
getMessagePrefix in class TextProtocol.Message


Copyright (c) 2004-2010 Oracle. All rights reserved.