com.sleepycat.je.rep.elections
Class Protocol.MasterQuery
java.lang.Object
com.sleepycat.je.rep.impl.TextProtocol.Message
com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
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
Protocol.MasterQuery
public Protocol.MasterQuery()
Protocol.MasterQuery
public Protocol.MasterQuery(String responseLine,
String[] tokens)
throws TextProtocol.InvalidMessageException
- Throws:
TextProtocol.InvalidMessageException
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-2012 Oracle. All rights reserved.