Class GreetingPacket
- java.lang.Object
-
- com.github.shyiko.mysql.binlog.network.protocol.GreetingPacket
-
- All Implemented Interfaces:
Packet
public class GreetingPacket extends Object implements Packet
- Author:
- Stanley Shyiko
-
-
Field Summary
-
Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet
MAX_LENGTH
-
-
Constructor Summary
Constructors Constructor Description GreetingPacket(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPluginProvidedData()
int
getProtocolVersion()
String
getScramble()
int
getServerCapabilities()
int
getServerCollation()
int
getServerStatus()
String
getServerVersion()
long
getThreadId()
-
-
-
Constructor Detail
-
GreetingPacket
public GreetingPacket(byte[] bytes) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getProtocolVersion
public int getProtocolVersion()
-
getServerVersion
public String getServerVersion()
-
getScramble
public String getScramble()
-
getThreadId
public long getThreadId()
-
getServerStatus
public int getServerStatus()
-
getServerCapabilities
public int getServerCapabilities()
-
getPluginProvidedData
public String getPluginProvidedData()
-
getServerCollation
public int getServerCollation()
-
-