Property | Type | Description | |
---|---|---|---|
m_PacketType | byte | ||
m_UserDataLength |
Method | Description | |
---|---|---|
BonCodeAJP13Packet ( ) : System | ||
BonCodeAJP13Packet ( byte Buffer ) : System |
Initialize the packet from the buffer, this is the normal case, it sets the essential properties of the packet like type
|
|
GetDataBytes ( ) : byte[] |
Returns the raw data of the packet in an array of bytes
|
|
GetPacket ( byte Buffer ) : BonCodeAJP13Packet |
Analyze the provided buffer and returns suitable packet instance
|
|
GetPackets ( byte Buffer ) : BonCodeAJP13.BonCodeAJP13PacketCollection |
Analyze the provided buffer and returns a collection of packets represented by the buffer
|
|
PrintPacket ( ) : string |
Returns a string of the packet's properties and their values
|
Method | Description | |
---|---|---|
FlipArray ( byte Data ) : byte[] |
Flips the array to send it using the big endian convention
|
|
GetByte ( byte Data, byte &Value, int Pos ) : int |
Get the byte value from the array starting from the position Pos
|
|
GetByteArray ( byte Data, byte &Value, int Pos, int ArrayLength ) : int |
Get the byte array value from the Data array starting from the position Pos
|
|
GetDateTime ( byte Data, System.DateTime &Value, int Pos ) : int |
Get the DateTime value from the array starting from the position Pos
|
|
GetDouble ( byte Data, double &Value, int Pos ) : int |
Get the Double value from the array starting from the position Pos
|
|
GetInt16 ( byte Data, |
Get the Int16 value from the array starting from the position Pos
|
|
GetInt32 ( byte Data, |
Get the Int32 value from the array starting from the position Pos
|
|
GetInt64 ( byte Data, System.Int64 &Value, int Pos ) : int |
Get the Int64 value from the array starting from the position Pos
|
|
GetString ( byte Data, string &Value, int Pos, int StrLength ) : int |
Get the String value from the array starting from the position Pos
|
|
GetUInt16 ( byte Data, |
Get the UInt16 value from the array starting from the position Pos
|
|
GetUInt32 ( byte Data, |
Get the UInt32 value from the array starting from the position Pos
|
|
GetUInt64 ( byte Data, System.UInt64 &Value, int Pos ) : int |
Get the UInt64 value from the array starting from the position Pos
|
|
SetByte ( byte Data, byte Value, int Pos ) : int |
Set the byte value in the array starting from the position Pos
|
|
SetByteArray ( byte Data, byte Value, int Pos, int ArrayLength ) : int |
Set the byte array in the Data array starting from the position Pos
|
|
SetDateTime ( byte Data, System.DateTime Value, int Pos ) : int |
Set the DateTime value in the array starting from the position Pos
|
|
SetDouble ( byte Data, double Value, int Pos ) : int |
Set the Double value in the array starting from the position Pos
|
|
SetInt16 ( byte Data, |
Set the Int16 value in the array starting from the position Pos
|
|
SetInt32 ( byte Data, |
Set the Int32 value in the array starting from the position Pos
|
|
SetInt64 ( byte Data, System.Int64 Value, int Pos ) : int |
Set the Int64 value in the array starting from the position Pos
|
|
SetString ( byte Data, string Value, int Pos, int StrLength ) : int |
Set the String value in the array starting from the position Pos String will be transmitted prefixed by length in bytes and terminated by zero byte
|
|
SetUInt16 ( byte Data, |
Set the UInt16 value in the array starting from the position Pos
|
|
SetUInt32 ( byte Data, |
Set the UInt32 value in the array starting from the position Pos
|
|
SetUInt64 ( byte Data, System.UInt64 Value, int Pos ) : int |
Set the UInt64 value in the array starting from the position Pos
|
|
WriteBonCodeAJP13Header ( byte Data ) : int |
Initialize the packet's header in the raw data.
|
public BonCodeAJP13Packet ( byte Buffer ) : System | ||
Buffer | byte | |
return | System |
protected static FlipArray ( byte Data ) : byte[] | ||
Data | byte | |
return | byte[] |
protected static GetByte ( byte Data, byte &Value, int Pos ) : int | ||
Data | byte | |
Value | byte | |
Pos | int | |
return | int |
protected static GetByteArray ( byte Data, byte &Value, int Pos, int ArrayLength ) : int | ||
Data | byte | |
Value | byte | |
Pos | int | |
ArrayLength | int | |
return | int |
protected static GetDateTime ( byte Data, System.DateTime &Value, int Pos ) : int | ||
Data | byte | |
Value | System.DateTime | |
Pos | int | |
return | int |
protected static GetDouble ( byte Data, double &Value, int Pos ) : int | ||
Data | byte | |
Value | double | |
Pos | int | |
return | int |
protected static GetInt16 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static GetInt32 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static GetInt64 ( byte Data, System.Int64 &Value, int Pos ) : int | ||
Data | byte | |
Value | System.Int64 | |
Pos | int | |
return | int |
public static GetPacket ( byte Buffer ) : BonCodeAJP13Packet | ||
Buffer | byte | |
return | BonCodeAJP13Packet |
public static GetPackets ( byte Buffer ) : BonCodeAJP13.BonCodeAJP13PacketCollection | ||
Buffer | byte | |
return | BonCodeAJP13.BonCodeAJP13PacketCollection |
protected static GetString ( byte Data, string &Value, int Pos, int StrLength ) : int | ||
Data | byte | |
Value | string | |
Pos | int | |
StrLength | int | |
return | int |
protected static GetUInt16 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static GetUInt32 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static GetUInt64 ( byte Data, System.UInt64 &Value, int Pos ) : int | ||
Data | byte | |
Value | System.UInt64 | |
Pos | int | |
return | int |
protected static SetByte ( byte Data, byte Value, int Pos ) : int | ||
Data | byte | |
Value | byte | |
Pos | int | |
return | int |
protected static SetByteArray ( byte Data, byte Value, int Pos, int ArrayLength ) : int | ||
Data | byte | |
Value | byte | |
Pos | int | |
ArrayLength | int | |
return | int |
protected static SetDateTime ( byte Data, System.DateTime Value, int Pos ) : int | ||
Data | byte | |
Value | System.DateTime | |
Pos | int | |
return | int |
protected static SetDouble ( byte Data, double Value, int Pos ) : int | ||
Data | byte | |
Value | double | |
Pos | int | |
return | int |
protected static SetInt16 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static SetInt32 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static SetInt64 ( byte Data, System.Int64 Value, int Pos ) : int | ||
Data | byte | |
Value | System.Int64 | |
Pos | int | |
return | int |
protected static SetString ( byte Data, string Value, int Pos, int StrLength ) : int | ||
Data | byte | |
Value | string | |
Pos | int | |
StrLength | int | |
return | int |
protected static SetUInt16 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static SetUInt32 ( byte Data, |
||
Data | byte | |
Value | ||
Pos | int | |
return | int |
protected static SetUInt64 ( byte Data, System.UInt64 Value, int Pos ) : int | ||
Data | byte | |
Value | System.UInt64 | |
Pos | int | |
return | int |
protected WriteBonCodeAJP13Header ( byte Data ) : int | ||
Data | byte | |
return | int |