com.sleepycat.je.rep.impl
Class TextProtocol.ResponseMessage
java.lang.Object
com.sleepycat.je.rep.impl.TextProtocol.Message
com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
- All Implemented Interfaces:
- TextProtocol.WireFormatable
- Direct Known Subclasses:
- NodeStateProtocol.NodeStateResponse, Protocol.Accepted, Protocol.Promise, Protocol.Reject, RepGroupProtocol.GroupResponse, TextProtocol.Fail, TextProtocol.OK, TextProtocol.ProtocolError
- Enclosing class:
- TextProtocol
public abstract class TextProtocol.ResponseMessage
- extends TextProtocol.Message
Base classes for response messages.
TextProtocol.ResponseMessage
protected TextProtocol.ResponseMessage()
TextProtocol.ResponseMessage
protected TextProtocol.ResponseMessage(String line,
String[] tokens)
throws TextProtocol.InvalidMessageException
- Throws:
TextProtocol.InvalidMessageException
wireFormatPrefix
protected String wireFormatPrefix()
- Returns the version id and Op concatenation that starts 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-2010 Oracle. All rights reserved.