C# Class ArtemisComm.Proxy.UI.SQLLogger.PacketToLogging

Inheritance: IPacketToLogging, IDisposable
Exibir arquivo Open project: russjudge/ArtemisSBS-ProtocolSharp Class Usage Examples

Private Properties

Property Type Description
GetConnection System.Data.SqlClient.SqlConnection
InsertIntoPacketTable int

Public Methods

Method Description
AddException ( System.Guid sourceID, Exception error ) : void
Dispose ( ) : void
PacketToLogging ( string connectionstring ) : ArtemisComm
Process ( Packet packet, System.Guid sourceID, System.Guid targetID, int subPacketType ) : object
ProcessValues ( object key, string propertyName, object value, string propertyType, string hexValue ) : void

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Private Methods

Method Description
GetConnection ( ) : SqlConnection
InsertIntoPacketTable ( Packet p, System.Guid sourceID, System.Guid targetID, int subPacketType ) : int

Method Details

AddException() public method

public AddException ( System.Guid sourceID, Exception error ) : void
sourceID System.Guid
error System.Exception
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

PacketToLogging() public method

public PacketToLogging ( string connectionstring ) : ArtemisComm
connectionstring string
return ArtemisComm

Process() public method

public Process ( Packet packet, System.Guid sourceID, System.Guid targetID, int subPacketType ) : object
packet ArtemisComm.Packet
sourceID System.Guid
targetID System.Guid
subPacketType int
return object

ProcessValues() public method

public ProcessValues ( object key, string propertyName, object value, string propertyType, string hexValue ) : void
key object
propertyName string
value object
propertyType string
hexValue string
return void