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

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.impl.TextProtocol.Fail
All Implemented Interfaces:
TextProtocol.WireFormatable
Direct Known Subclasses:
RepGroupProtocol.Fail
Enclosing class:
TextProtocol

public class TextProtocol.Fail
extends TextProtocol.ResponseMessage


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
messagePrefixNocheck, sendVersion
 
Constructor Summary
TextProtocol.Fail(String message)
           
TextProtocol.Fail(String line, String[] tokens)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMessage()
           
protected  String getMessagePrefix()
           
 TextProtocol.MessageOp getOp()
           
 int hashCode()
           
 String 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

TextProtocol.Fail

public TextProtocol.Fail(String message)

TextProtocol.Fail

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

getMessage

public String getMessage()

hashCode

public int hashCode()
Overrides:
hashCode in class TextProtocol.ResponseMessage

equals

public boolean equals(Object obj)
Overrides:
equals in class TextProtocol.ResponseMessage

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()


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