public class GreetingPacket extends AbsPacketRead
buff, charsetName, packetBean| 构造器和说明 |
|---|
GreetingPacket(PacketBean packetBean) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alibaba.fastjson.JSONObject |
getBody() |
CharacterSet |
getCharacterSet() |
long |
getConnectionId() |
String |
getPluginProvidedData() |
int |
getProtocolVersion() |
String |
getScramble() |
int |
getServerCapabilities() |
int |
getServerCollation() |
int |
getServerStatus() |
String |
getServerVersion() |
protected void |
readBody() |
void |
readBodyNew(ByteUtil.AssitRead reader)
新格式解析
|
getLength, getSequencepublic GreetingPacket(PacketBean packetBean)
public String getScramble()
protected void readBody()
throws IOException
readBody 在类中 AbsPacketReadIOExceptionpublic void readBodyNew(ByteUtil.AssitRead reader) throws IOException
IOExceptionpublic int getProtocolVersion()
public String getServerVersion()
public long getConnectionId()
public CharacterSet getCharacterSet()
public int getServerCapabilities()
public int getServerCollation()
public int getServerStatus()
public String getPluginProvidedData()
public com.alibaba.fastjson.JSONObject getBody()
Copyright © 2017. All rights reserved.