C# 클래스 HitProxy.Connection.ConnectionManager

Caches active connections and limits the number of simultaneous connections to each server
파일 보기 프로젝트 열기: hultqvist/HitProxy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
releasedConnection System.Threading.AutoResetEvent

공개 메소드들

메소드 설명
Cleanup ( ) : void
Connect ( DnsLookup dns, int port, bool forceNew, bool wait ) : CachedConnection

Get cached or create a new connection to specific ip-addresses.

ConnectionManager ( ) : System

메소드 상세

Cleanup() 공개 메소드

public Cleanup ( ) : void
리턴 void

Connect() 공개 메소드

Get cached or create a new connection to specific ip-addresses.
public Connect ( DnsLookup dns, int port, bool forceNew, bool wait ) : CachedConnection
dns DnsLookup /// Dns. ///
port int /// Port. ///
forceNew bool /// Don't reuse, always start a new connection ///
wait bool /// Wait until there is a slot free, otherwise it will return null. ///
리턴 CachedConnection

ConnectionManager() 공개 메소드

public ConnectionManager ( ) : System
리턴 System

프로퍼티 상세

releasedConnection 공개적으로 프로퍼티

This event is triggered to let pending connections start.
public AutoResetEvent,System.Threading releasedConnection
리턴 System.Threading.AutoResetEvent