C# 클래스 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.
파일 보기 프로젝트 열기: xianrendzw/LightFramework.Net

공개 메소드들

메소드 설명
ConnectThread ( string host, int port ) : System

Constructor

Start ( ) : void

start thread running. This attempts to establish a connection.

비공개 메소드들

메소드 설명
Connect ( ) : void

The logic of the thread.

메소드 상세

ConnectThread() 공개 메소드

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

Start() 공개 메소드

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