Package org.apache.zookeeper.proto
Class MultiHeader
java.lang.Object
org.apache.zookeeper.proto.MultiHeader
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanbooleangetDone()intgetErr()intgetType()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetDone(boolean m_) voidsetErr(int m_) voidsetType(int m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
MultiHeader
public MultiHeader() -
MultiHeader
public MultiHeader(int type, boolean done, int err)
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int m_) -
getDone
public boolean getDone() -
setDone
public void setDone(boolean 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
-