Package org.apache.zookeeper.proto
Class ErrorResponse
java.lang.Object
org.apache.zookeeper.proto.ErrorResponse
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanintgetErr()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetErr(int m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
ErrorResponse
public ErrorResponse() -
ErrorResponse
public ErrorResponse(int err)
-
-
Method Details
-
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
-