C# 클래스 MindTouch.Clacks.Client.Net.ConnectionPool

상속: IConnectionPool, IDisposable
파일 보기 프로젝트 열기: MindTouch/MindTouch.Clacks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultCheckInterval System.TimeSpan
DefaultConnectTimeout System.TimeSpan
DefaultIdleTimeout System.TimeSpan
DefaultMaxConnections int

공개 메소드들

메소드 설명
ConnectionPool ( Func socketFactory ) : System
Create ( IPEndPoint endpoint ) : ConnectionPool
Create ( string host, int port ) : ConnectionPool
Dispose ( ) : void
GetPool ( IPEndPoint endPoint ) : ConnectionPool
GetPool ( string host, int port ) : ConnectionPool
GetSocket ( ) : ISocket

비공개 메소드들

메소드 설명
ConnectionPool ( IPEndPoint endpoint ) : System
ConnectionPool ( string host, int port ) : System
ReapSockets ( object state ) : void
Reclaim ( ISocket socket ) : void
ThrowIfDisposed ( ) : void
WrapSocket ( ISocket socket ) : ISocket

메소드 상세

ConnectionPool() 공개 메소드

public ConnectionPool ( Func socketFactory ) : System
socketFactory Func
리턴 System

Create() 공개 정적인 메소드

public static Create ( IPEndPoint endpoint ) : ConnectionPool
endpoint System.Net.IPEndPoint
리턴 ConnectionPool

Create() 공개 정적인 메소드

public static Create ( string host, int port ) : ConnectionPool
host string
port int
리턴 ConnectionPool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetPool() 공개 정적인 메소드

public static GetPool ( IPEndPoint endPoint ) : ConnectionPool
endPoint System.Net.IPEndPoint
리턴 ConnectionPool

GetPool() 공개 정적인 메소드

public static GetPool ( string host, int port ) : ConnectionPool
host string
port int
리턴 ConnectionPool

GetSocket() 공개 메소드

public GetSocket ( ) : ISocket
리턴 ISocket

프로퍼티 상세

DefaultCheckInterval 공개적으로 정적으로 프로퍼티

public static TimeSpan,System DefaultCheckInterval
리턴 System.TimeSpan

DefaultConnectTimeout 공개적으로 정적으로 프로퍼티

public static TimeSpan,System DefaultConnectTimeout
리턴 System.TimeSpan

DefaultIdleTimeout 공개적으로 정적으로 프로퍼티

public static TimeSpan,System DefaultIdleTimeout
리턴 System.TimeSpan

DefaultMaxConnections 공개적으로 정적으로 프로퍼티

public static int DefaultMaxConnections
리턴 int