C# Class BonCodeAJP13.ServerPackets.BonCodeFilePathPacket

Inheritance: BonCodeAJP13Packet
Afficher le fichier Open project: Bilal-S/iis2tomcat Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

Generic Constructor can be used to create empty package
public BonCodeFilePathPacket ( ) : System
Résultat System

BonCodeFilePathPacket() public méthode

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
Résultat System

GetUserDataString() public méthode

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
Résultat string

SetSimpleString() protected méthode

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
Résultat int