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

Client that talks TDS
Mostra file Open project: dotnet/corefx

Private Properties

Property Type Description
Log void

Public Methods

Method Description
Connect ( ) : void

Establish connection and log into the SQL Server

Disconnect ( ) : void

Log out and disconnect from SQL Server

SendRequest ( ) : void

Dispatch a request to the server

TDSClientEndPoint ( ITDSClient client ) : System

Initialization constructor

TDSClientEndPoint ( ITDSClient client, Func funcTDSStreamPreWriteCallBack, Action funcPostConnect, Action funcTCPClientDisconnect ) : System

Initialization constructor

Private Methods

Method Description
Log ( string text ) : void

Write a string to the log

Method Details

Connect() public method

Establish connection and log into the SQL Server
public Connect ( ) : void
return void

Disconnect() public method

Log out and disconnect from SQL Server
public Disconnect ( ) : void
return void

SendRequest() public method

Dispatch a request to the server
public SendRequest ( ) : void
return void

TDSClientEndPoint() public method

Initialization constructor
public TDSClientEndPoint ( ITDSClient client ) : System
client ITDSClient TDS client instance that will drive the communication with the TDS server
return System

TDSClientEndPoint() public method

Initialization constructor
public TDSClientEndPoint ( ITDSClient client, Func funcTDSStreamPreWriteCallBack, Action funcPostConnect, Action funcTCPClientDisconnect ) : System
client ITDSClient
funcTDSStreamPreWriteCallBack Func
funcPostConnect Action
funcTCPClientDisconnect Action
return System