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

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

public class Protocol.MasterQuery
extends TextProtocol.RequestMessage

Used to query the Learner for a current master


Constructor Summary
Protocol.MasterQuery()
           
Protocol.MasterQuery(String responseLine, String[] tokens)
           
 
Method Summary
protected  String getMessagePrefix()
           
 TextProtocol.MessageOp getOp()
           
 String toString()
           
 String wireFormat()
           
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
equals, hashCode, wireFormatPrefix
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
getCurrentTokenPosition, getProtocol, getSenderId, nextPayloadToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol.MasterQuery

public Protocol.MasterQuery()

Protocol.MasterQuery

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

getOp

public TextProtocol.MessageOp getOp()
Specified by:
getOp in class TextProtocol.Message

getMessagePrefix

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

wireFormat

public String wireFormat()

toString

public String toString()
Overrides:
toString in class Object


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