C# Class Mono.WebServer.XSPWorker

Inheritance: Mono.WebServer.Worker
Datei anzeigen Open project: robashton/zombify Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Close ( bool keepAlive ) : void
Flush ( ) : void
GetRemainingReuses ( ) : int
IsConnected ( ) : bool
Read ( byte buffer, int position, int size ) : int
Run ( object state ) : void
SetReuseCount ( int nreuses ) : void
Write ( byte buffer, int position, int size ) : void
XSPWorker ( Socket client, EndPoint localEP, Mono.WebServer.ApplicationServer server, bool secureConnection, Mono SecurityProtocol, X509Certificate cert, PrivateKeySelectionCallback keyCB, bool allowClientCert, bool requireClientCert ) : System

Private Methods

Method Description
ClientCertificateValidation ( X509Certificate certificate, int certificateErrors ) : bool
HandleInitialException ( Exception e ) : void
ReadCB ( IAsyncResult ares ) : void
RunInternal ( object state ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Close() public method

public Close ( bool keepAlive ) : void
keepAlive bool
return void

Flush() public method

public Flush ( ) : void
return void

GetRemainingReuses() public method

public GetRemainingReuses ( ) : int
return int

IsConnected() public method

public IsConnected ( ) : bool
return bool

Read() public method

public Read ( byte buffer, int position, int size ) : int
buffer byte
position int
size int
return int

Run() public method

public Run ( object state ) : void
state object
return void

SetReuseCount() public method

public SetReuseCount ( int nreuses ) : void
nreuses int
return void

Write() public method

public Write ( byte buffer, int position, int size ) : void
buffer byte
position int
size int
return void

XSPWorker() public method

public XSPWorker ( Socket client, EndPoint localEP, Mono.WebServer.ApplicationServer server, bool secureConnection, Mono SecurityProtocol, X509Certificate cert, PrivateKeySelectionCallback keyCB, bool allowClientCert, bool requireClientCert ) : System
client Socket
localEP System.Net.EndPoint
server Mono.WebServer.ApplicationServer
secureConnection bool
SecurityProtocol Mono
cert System.Security.Cryptography.X509Certificates.X509Certificate
keyCB PrivateKeySelectionCallback
allowClientCert bool
requireClientCert bool
return System