Constructor and Description |
---|
QuorumAuthPacket() |
QuorumAuthPacket(long magic,
int status,
byte[] token) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object peer_) |
void |
deserialize(InputArchive a_,
String tag) |
boolean |
equals(Object peer_) |
long |
getMagic() |
int |
getStatus() |
byte[] |
getToken() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
serialize(OutputArchive a_,
String tag) |
void |
setMagic(long m_) |
void |
setStatus(int m_) |
void |
setToken(byte[] m_) |
static String |
signature() |
String |
toString() |
void |
write(DataOutput out) |
public QuorumAuthPacket()
public QuorumAuthPacket(long magic, int status, byte[] token)
public long getMagic()
public void setMagic(long m_)
public int getStatus()
public void setStatus(int m_)
public byte[] getToken()
public void setToken(byte[] m_)
public void serialize(OutputArchive a_, String tag) throws IOException
serialize
in interface Record
IOException
public void deserialize(InputArchive a_, String tag) throws IOException
deserialize
in interface Record
IOException
public void write(DataOutput out) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
public int compareTo(Object peer_) throws ClassCastException
ClassCastException
public static String signature()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.