C# Class ServiceStack.Redis.Tests.Support.TcpClientWithTimeout

Show file Open project: ServiceStack/ServiceStack.Redis Class Usage Examples

Protected Properties

Property Type Description
connected bool
connection System.Net.Sockets.TcpClient
exception System.Exception
hostname string
port int
timeout System.TimeSpan

Public Methods

Method Description
Connect ( ) : TcpClient
TcpClientWithTimeout ( string hostname, int port, System.TimeSpan timeout ) : System

Protected Methods

Method Description
BeginConnect ( ) : void

Method Details

BeginConnect() protected method

protected BeginConnect ( ) : void
return void

Connect() public method

public Connect ( ) : TcpClient
return System.Net.Sockets.TcpClient

TcpClientWithTimeout() public method

public TcpClientWithTimeout ( string hostname, int port, System.TimeSpan timeout ) : System
hostname string
port int
timeout System.TimeSpan
return System

Property Details

connected protected property

protected bool connected
return bool

connection protected property

protected TcpClient,System.Net.Sockets connection
return System.Net.Sockets.TcpClient

exception protected property

protected Exception,System exception
return System.Exception

hostname protected property

protected string hostname
return string

port protected property

protected int port
return int

timeout protected property

protected TimeSpan,System timeout
return System.TimeSpan