com.sleepycat.je.rep.impl
Class TextProtocol.RequestMessage

java.lang.Object
  extended by com.sleepycat.je.rep.impl.TextProtocol.Message
      extended by com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
All Implemented Interfaces:
TextProtocol.WireFormatable
Direct Known Subclasses:
NodeStateProtocol.NodeStateRequest, Protocol.GroupChange, Protocol.JoinGroup, Protocol.LeaveGroup, Protocol.MasterQuery, Protocol.Propose, Protocol.Shutdown, RepGroupProtocol.EnsureNode, RepGroupProtocol.GroupRequest, RepGroupProtocol.RemoveMember, RepGroupProtocol.TransferMaster, RepGroupProtocol.UpdateAddress
Enclosing class:
TextProtocol

public abstract class TextProtocol.RequestMessage
extends TextProtocol.Message

Base class for all Request messages


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
messagePrefixNocheck, sendVersion
 
Constructor Summary
protected TextProtocol.RequestMessage()
           
protected TextProtocol.RequestMessage(String line, String[] tokens)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
protected  String wireFormatPrefix()
          Returns the version id and Op concatenation that form the prefix for every message.
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
getCurrentTokenPosition, getMessagePrefix, getOp, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sleepycat.je.rep.impl.TextProtocol.WireFormatable
wireFormat
 

Constructor Detail

TextProtocol.RequestMessage

protected TextProtocol.RequestMessage()

TextProtocol.RequestMessage

protected TextProtocol.RequestMessage(String line,
                                      String[] tokens)
                               throws TextProtocol.InvalidMessageException
Throws:
TextProtocol.InvalidMessageException
Method Detail

wireFormatPrefix

protected String wireFormatPrefix()
Returns the version id and Op concatenation that form the prefix for every message.


equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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