C# Class BonCodeAJP13.ServerPackets.BonCodeFilePathPacket

Inheritance: BonCodeAJP13Packet
ファイルを表示 Open project: Bilal-S/iis2tomcat Class Usage Examples

Public Methods

Method Description
BonCodeFilePathPacket ( ) : System

Generic Constructor can be used to create empty package

BonCodeFilePathPacket ( string sPath ) : System

constructor with path provided. we will use default application physical path if empty string is passed as path.

GetUserDataString ( ) : string

Return string of user data enclosed in packet. This is different based on each packet type The Adobe specific packet is lacking a string terminator thus we only subtract three bytes

Protected Methods

Method Description
SetSimpleString ( byte data, string value, int pos ) : int

Set the String value in the array starting from the pos index The length prefix will be omitted. This is Adobe specific and we need to convert string type to ISO-8559-1

Method Details

BonCodeFilePathPacket() public method

Generic Constructor can be used to create empty package
public BonCodeFilePathPacket ( ) : System
return System

BonCodeFilePathPacket() public method

constructor with path provided. we will use default application physical path if empty string is passed as path.
public BonCodeFilePathPacket ( string sPath ) : System
sPath string
return System

GetUserDataString() public method

Return string of user data enclosed in packet. This is different based on each packet type The Adobe specific packet is lacking a string terminator thus we only subtract three bytes
public GetUserDataString ( ) : string
return string

SetSimpleString() protected method

Set the String value in the array starting from the pos index The length prefix will be omitted. This is Adobe specific and we need to convert string type to ISO-8559-1
protected SetSimpleString ( byte data, string value, int pos ) : int
data byte
value string
pos int
return int