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

Connection to a single client
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

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

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

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

ProcessData() public abstract méthode

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

ServerEndPointConnection() public méthode

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