Package org.apache.zookeeper.proto
Class GetDelegationTokenResponse
java.lang.Object
org.apache.zookeeper.proto.GetDelegationTokenResponse
- All Implemented Interfaces:
Record
-
Constructor Summary
ConstructorsConstructorDescriptionGetDelegationTokenResponse(byte[] identifier, byte[] password, long expiryTime) -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoiddeserialize(InputArchive a_, String tag) booleanlongbyte[]byte[]inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetExpiryTime(long m_) voidsetIdentifier(byte[] m_) voidsetPassword(byte[] m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
GetDelegationTokenResponse
public GetDelegationTokenResponse() -
GetDelegationTokenResponse
public GetDelegationTokenResponse(byte[] identifier, byte[] password, long expiryTime)
-
-
Method Details
-
getIdentifier
public byte[] getIdentifier() -
setIdentifier
public void setIdentifier(byte[] m_) -
getPassword
public byte[] getPassword() -
setPassword
public void setPassword(byte[] m_) -
getExpiryTime
public long getExpiryTime() -
setExpiryTime
public void setExpiryTime(long m_) -
copyFrom
-
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
-