Package org.apache.zookeeper.proto
Class AuthPacket
java.lang.Object
org.apache.zookeeper.proto.AuthPacket
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanbyte[]getAuth()intgetType()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetAuth(byte[] m_) voidvoidsetType(int m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
AuthPacket
public AuthPacket() -
AuthPacket
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int m_) -
getScheme
-
setScheme
-
getAuth
public byte[] getAuth() -
setAuth
public void setAuth(byte[] 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
-