C# Класс Microsoft.SqlServer.TDS.EndPoint.ServerEndPointConnection

Connection to a single client
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Log ( string text ) : void

Write a string to the log

Start ( ) : void

Start the connection

Stop ( ) : void

Stop the connection

_ConnectionHandler ( ) : void

Worker thread

Описание методов

PrepareForProcessingData() публичный абстрактный Метод

Called when the data processing thread is first started
public abstract PrepareForProcessingData ( Stream rawStream ) : void
rawStream Stream
Результат void

ProcessData() публичный абстрактный Метод

Called every time there is new data available
public abstract ProcessData ( Stream rawStream ) : void
rawStream Stream
Результат void

ServerEndPointConnection() публичный Метод

Initialization constructor
public ServerEndPointConnection ( ITDSServer server, TcpClient connection ) : System
server ITDSServer
connection System.Net.Sockets.TcpClient
Результат System