C# Class HitProxy.Connection.CachedConnection

Inheritance: IDisposable
Afficher le fichier Open project: hultqvist/HitProxy Class Usage Examples

Méthodes publiques

Свойство Type Description
Stream Stream
remoteSocket System.Net.Sockets.Socket
served int
server CachedServer

Méthodes publiques

Méthode Description
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

Method Details

CachedConnection() public méthode

public CachedConnection ( CachedServer server ) : System
server CachedServer
Résultat System

Connect() public méthode

public Connect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Release() public méthode

Make connection available to other requests
public Release ( ) : void
Résultat void

SetBusy() public méthode

Indicates that this connections now is busy serving a request
public SetBusy ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Stream public_oe property

Usually a NetworkStream but can be a SslStream when HTTP CONNECT is intercepted.
public Stream Stream
Résultat Stream

remoteSocket public_oe property

public Socket,System.Net.Sockets remoteSocket
Résultat System.Net.Sockets.Socket

served public_oe property

Statistics: Number of requests served using this connection
public int served
Résultat int

server public_oe property

public CachedServer,HitProxy.Connection server
Résultat CachedServer