C# Class Microsoft.SqlServer.TDS.EndPoint.ServerEndPointConnection

Connection to a single client
Show file Open project: dotnet/corefx

Public Methods

Method Description
PrepareForProcessingData ( Stream rawStream ) : void

Called when the data processing thread is first started

ProcessData ( Stream rawStream ) : void

Called every time there is new data available

ServerEndPointConnection ( ITDSServer server, TcpClient connection ) : System

Initialization constructor

Private Methods

Method Description
Log ( string text ) : void

Write a string to the log

Start ( ) : void

Start the connection

Stop ( ) : void

Stop the connection

_ConnectionHandler ( ) : void

Worker thread

Method Details

PrepareForProcessingData() public abstract method

Called when the data processing thread is first started
public abstract PrepareForProcessingData ( Stream rawStream ) : void
rawStream Stream
return void

ProcessData() public abstract method

Called every time there is new data available
public abstract ProcessData ( Stream rawStream ) : void
rawStream Stream
return void

ServerEndPointConnection() public method

Initialization constructor
public ServerEndPointConnection ( ITDSServer server, TcpClient connection ) : System
server ITDSServer
connection System.Net.Sockets.TcpClient
return System