C# Class TransportLayerInsecurity.Server

Show file Open project: epicvrvs/TransportLayerInsecurity Class Usage Examples

Public Methods

Method Description
Run ( ) : void
Server ( ServerConfiguration configuration, IServerEventHandler serverEventHandler ) : System
Terminate ( ) : void

Private Methods

Method Description
CloseStreams ( ) : void
GetEndpoint ( string host, int port ) : IPEndPoint
OnAsynchronousRead ( IAsyncResult result ) : void
ProcessClient ( TcpClient localClient ) : void
ReadAsynchronously ( StreamContext context ) : void
RunThread ( ) : void
TrustAllCertificates ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool

Method Details

Run() public method

public Run ( ) : void
return void

Server() public method

public Server ( ServerConfiguration configuration, IServerEventHandler serverEventHandler ) : System
configuration ServerConfiguration
serverEventHandler IServerEventHandler
return System

Terminate() public method

public Terminate ( ) : void
return void