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

Mostra 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_oe property

protected bool connected
return bool

connection protected_oe property

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

exception protected_oe property

protected Exception,System exception
return System.Exception

hostname protected_oe property

protected string hostname
return string

port protected_oe property

protected int port
return int

timeout protected_oe property

protected TimeSpan,System timeout
return System.TimeSpan