C# Class Whalin.Caching.Memcached.SockIO.ConnectThread

Thread to attempt connection. This will be polled by the main thread. We run the risk of filling up w/ threads attempting connections if network is down. However, the falling off mech in the main code should limit this.
Mostrar archivo Open project: xianrendzw/LightFramework.Net

Public Methods

Method Description
ConnectThread ( string host, int port ) : System

Constructor

Start ( ) : void

start thread running. This attempts to establish a connection.

Private Methods

Method Description
Connect ( ) : void

The logic of the thread.

Method Details

ConnectThread() public method

Constructor
public ConnectThread ( string host, int port ) : System
host string
port int
return System

Start() public method

start thread running. This attempts to establish a connection.
public Start ( ) : void
return void