Package org.apache.zookeeper.proto
Class ReplyHeader
java.lang.Object
org.apache.zookeeper.proto.ReplyHeader
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanintgetErr()intgetXid()longgetZxid()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetErr(int m_) voidsetXid(int m_) voidsetZxid(long m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
ReplyHeader
public ReplyHeader() -
ReplyHeader
public ReplyHeader(int xid, long zxid, int err)
-
-
Method Details
-
getXid
public int getXid() -
setXid
public void setXid(int m_) -
getZxid
public long getZxid() -
setZxid
public void setZxid(long m_) -
getErr
public int getErr() -
setErr
public void setErr(int m_) -
serialize
- Specified by:
serializein interfaceRecord- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceRecord- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-