C# 클래스 Microsoft.SqlServer.TDS.EndPoint.ServerEndPointConnection

Connection to a single client
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
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