C# Класс Mono.WebServer.XSPWorker

Наследование: Mono.WebServer.Worker
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ClientCertificateValidation ( X509Certificate certificate, int certificateErrors ) : bool
HandleInitialException ( Exception e ) : void
ReadCB ( IAsyncResult ares ) : void
RunInternal ( object state ) : void

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

Close() публичный Метод

public Close ( bool keepAlive ) : void
keepAlive bool
Результат void

Flush() публичный Метод

public Flush ( ) : void
Результат void

GetRemainingReuses() публичный Метод

public GetRemainingReuses ( ) : int
Результат int

IsConnected() публичный Метод

public IsConnected ( ) : bool
Результат bool

Read() публичный Метод

public Read ( byte buffer, int position, int size ) : int
buffer byte
position int
size int
Результат int

Run() публичный Метод

public Run ( object state ) : void
state object
Результат void

SetReuseCount() публичный Метод

public SetReuseCount ( int nreuses ) : void
nreuses int
Результат void

Write() публичный Метод

public Write ( byte buffer, int position, int size ) : void
buffer byte
position int
size int
Результат void

XSPWorker() публичный Метод

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
Результат System