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 TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
byte[]
getAuth()
int
getType()
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
setAuth
(byte[] m_) void
void
setType
(int m_) static String
toString()
void
write
(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:
serialize
in interfaceRecord
- Throws:
IOException
-
deserialize
- Specified by:
deserialize
in interfaceRecord
- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-