C# Class TestApp.TcpState

Inheritance: StateObject
Datei anzeigen Open project: graffen/NLog.Targets.Syslog Class Usage Examples

Public Methods

Method Description
TcpState ( Socket receiveSocket ) : System

Protected Methods

Method Description
HandleChunks ( string receivedString, Action receivedStringAction ) : void
HandleFirstReceive ( MemoryStream ms ) : void

Private Methods

Method Description
DetectFraming ( MemoryStream ms ) : void

Method Details

HandleChunks() protected method

protected HandleChunks ( string receivedString, Action receivedStringAction ) : void
receivedString string
receivedStringAction Action
return void

HandleFirstReceive() protected method

protected HandleFirstReceive ( MemoryStream ms ) : void
ms System.IO.MemoryStream
return void

TcpState() public method

public TcpState ( Socket receiveSocket ) : System
receiveSocket System.Net.Sockets.Socket
return System