C# 클래스 HitProxy.Connection.CachedConnection

상속: IDisposable
파일 보기 프로젝트 열기: hultqvist/HitProxy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Stream Stream
remoteSocket System.Net.Sockets.Socket
served int
server CachedServer

공개 메소드들

메소드 설명
CachedConnection ( CachedServer server ) : System
Connect ( ) : void
Dispose ( ) : void
GetHashCode ( ) : int
Release ( ) : void

Make connection available to other requests

SetBusy ( ) : void

Indicates that this connections now is busy serving a request

ToString ( ) : string

메소드 상세

CachedConnection() 공개 메소드

public CachedConnection ( CachedServer server ) : System
server CachedServer
리턴 System

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Release() 공개 메소드

Make connection available to other requests
public Release ( ) : void
리턴 void

SetBusy() 공개 메소드

Indicates that this connections now is busy serving a request
public SetBusy ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Stream 공개적으로 프로퍼티

Usually a NetworkStream but can be a SslStream when HTTP CONNECT is intercepted.
public Stream Stream
리턴 Stream

remoteSocket 공개적으로 프로퍼티

public Socket,System.Net.Sockets remoteSocket
리턴 System.Net.Sockets.Socket

served 공개적으로 프로퍼티

Statistics: Number of requests served using this connection
public int served
리턴 int

server 공개적으로 프로퍼티

public CachedServer,HitProxy.Connection server
리턴 CachedServer