Constructor and Description |
---|
ConnectRequest() |
ConnectRequest(int protocolVersion,
long lastZxidSeen,
int timeOut,
long sessionId,
byte[] passwd) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object peer_) |
void |
deserialize(InputArchive a_,
String tag) |
boolean |
equals(Object peer_) |
long |
getLastZxidSeen() |
byte[] |
getPasswd() |
int |
getProtocolVersion() |
long |
getSessionId() |
int |
getTimeOut() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
serialize(OutputArchive a_,
String tag) |
void |
setLastZxidSeen(long m_) |
void |
setPasswd(byte[] m_) |
void |
setProtocolVersion(int m_) |
void |
setSessionId(long m_) |
void |
setTimeOut(int m_) |
static String |
signature() |
String |
toString() |
void |
write(DataOutput out) |
public ConnectRequest()
public ConnectRequest(int protocolVersion, long lastZxidSeen, int timeOut, long sessionId, byte[] passwd)
public int getProtocolVersion()
public void setProtocolVersion(int m_)
public long getLastZxidSeen()
public void setLastZxidSeen(long m_)
public int getTimeOut()
public void setTimeOut(int m_)
public long getSessionId()
public void setSessionId(long m_)
public byte[] getPasswd()
public void setPasswd(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.