Method | Description | |
---|---|---|
Mysql ( int packetNumber, |
||
convert32To3Byte ( |
||
copyBytes ( byte source, byte dest, int offsetDest, bool nullTerminated ) : byte[] | ||
generateAnswerPacket ( String queryString ) : byte[] | ||
generateOKPacket ( int packetNumber, int affectedRows ) : byte[] | ||
getAnswerPacket ( byte queryBytes, int packetNumber ) : byte[] | ||
getGreetingPacket ( ) : byte[] | ||
getGreetingPacket ( int packetNumber ) : byte[] | ||
getPacketError ( String data, int packetNumber, System.Int64 length, System.Int64 errorNumber ) : byte[] | ||
getPacketNumber ( byte data ) : byte | ||
handleLoginPacket ( byte dataIn, String clientIP, String token, String username, String host ) : void | ||
handleQueryPacket ( byte dataIn, String clientIP, String token, String username, String host ) : byte[] |
Method | Description | |
---|---|---|
byteArrayCompare ( byte shortArray, byte longArray ) : bool | ||
getBytes ( String inStr ) : byte[] |
public Mysql ( int packetNumber, |
||
packetNumber | int | |
w | ||
return | System |
public convert32To3Byte ( |
||
input | ||
return | byte[] |
public copyBytes ( byte source, byte dest, int offsetDest, bool nullTerminated ) : byte[] | ||
source | byte | |
dest | byte | |
offsetDest | int | |
nullTerminated | bool | |
return | byte[] |
public generateAnswerPacket ( String queryString ) : byte[] | ||
queryString | String | |
return | byte[] |
public generateOKPacket ( int packetNumber, int affectedRows ) : byte[] | ||
packetNumber | int | |
affectedRows | int | |
return | byte[] |
public getAnswerPacket ( byte queryBytes, int packetNumber ) : byte[] | ||
queryBytes | byte | |
packetNumber | int | |
return | byte[] |
public getGreetingPacket ( int packetNumber ) : byte[] | ||
packetNumber | int | |
return | byte[] |
public getPacketError ( String data, int packetNumber, System.Int64 length, System.Int64 errorNumber ) : byte[] | ||
data | String | |
packetNumber | int | |
length | System.Int64 | |
errorNumber | System.Int64 | |
return | byte[] |
public handleLoginPacket ( byte dataIn, String clientIP, String token, String username, String host ) : void | ||
dataIn | byte | |
clientIP | String | |
token | String | |
username | String | |
host | String | |
return | void |
public handleQueryPacket ( byte dataIn, String clientIP, String token, String username, String host ) : byte[] | ||
dataIn | byte | |
clientIP | String | |
token | String | |
username | String | |
host | String | |
return | byte[] |