C# Class Thrift.Transport.TSocket

Inheritance: Thrift.Transport.TStreamTransport
显示文件 Open project: newrelic/thrift Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Open ( ) : void
TSocket ( TcpClient client ) : System
TSocket ( string host, int port ) : System
TSocket ( string host, int port, int timeout ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ConnectCallback ( IAsyncResult asyncres ) : void
InitSocket ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Open() public method

public Open ( ) : void
return void

TSocket() public method

public TSocket ( TcpClient client ) : System
client System.Net.Sockets.TcpClient
return System

TSocket() public method

public TSocket ( string host, int port ) : System
host string
port int
return System

TSocket() public method

public TSocket ( string host, int port, int timeout ) : System
host string
port int
timeout int
return System