C# Class NetworkSniffer.TcpConnection

Exibir arquivo Open project: neowutran/ShinraMeter Class Usage Examples

Public Properties

Property Type Description
Destination System.Net.IPEndPoint
RemoveCallback System.Action
SnifferType string
Source System.Net.IPEndPoint

Private Properties

Property Type Description
HandleTcpReceived void
OnDataReceived void
TcpConnection System

Public Methods

Method Description
SequenceNumberToBytesReceived ( uint sequenceNumber ) : long
ToString ( ) : string

Private Methods

Method Description
HandleTcpReceived ( uint sequenceNumber, byte data ) : void
OnDataReceived ( byte data, int needToSkip ) : void
TcpConnection ( ConnectionId connectionId, uint sequenceNumber, Action removeCallback, string snifferType ) : System

Method Details

SequenceNumberToBytesReceived() public method

public SequenceNumberToBytesReceived ( uint sequenceNumber ) : long
sequenceNumber uint
return long

ToString() public method

public ToString ( ) : string
return string

Property Details

Destination public_oe property

public IPEndPoint,System.Net Destination
return System.Net.IPEndPoint

RemoveCallback public_oe property

public Action,System RemoveCallback
return System.Action

SnifferType public_oe property

public string SnifferType
return string

Source public_oe property

public IPEndPoint,System.Net Source
return System.Net.IPEndPoint