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.
Afficher le fichier Open project: xianrendzw/LightFramework.Net

Méthodes publiques

Méthode Description
ConnectThread ( string host, int port ) : System

Constructor

Start ( ) : void

start thread running. This attempts to establish a connection.

Private Methods

Méthode Description
Connect ( ) : void

The logic of the thread.

Method Details

ConnectThread() public méthode

Constructor
public ConnectThread ( string host, int port ) : System
host string
port int
Résultat System

Start() public méthode

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