public final class HandshakeMessage extends ByteBufMessage
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
clientKey |
String |
clientVersion |
String |
deviceId |
byte[] |
iv |
int |
maxHeartbeat |
int |
minHeartbeat |
String |
osName |
String |
osVersion |
long |
timestamp |
connection, packet| 构造器和说明 |
|---|
HandshakeMessage(Connection connection) |
HandshakeMessage(Packet message,
Connection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
decode(ByteBuffer body) |
protected void |
encode(ByteBuf body) |
String |
toString() |
decode, decodeByte, decodeBytes, decodeInt, decodeLong, decodeString, encode, encodeByte, encodeBytes, encodeInt, encodeLong, encodeStringcreateResponse, decodeBody, encodeBody, genSessionId, getConnection, getPacket, getSessionId, send, sendRawpublic String deviceId
public String osName
public String osVersion
public String clientVersion
public byte[] iv
public byte[] clientKey
public int minHeartbeat
public int maxHeartbeat
public long timestamp
public HandshakeMessage(Connection connection)
public HandshakeMessage(Packet message, Connection connection)
protected void decode(ByteBuffer body)
decode 在类中 ByteBufMessageprotected void encode(ByteBuf body)
encode 在类中 ByteBufMessagepublic String toString()
toString 在类中 BaseMessageCopyright © 2016. All rights reserved.