C# Class Nowin.SslTransportHandler

Inheritance: ITransportLayerHandler, ITransportLayerCallback
Show file Open project: Bobris/Nowin Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
FinishAccept ( byte buffer, int offset, int length, IPEndPoint remoteEndPoint, IPEndPoint localEndPoint ) : void
FinishReceive ( byte buffer, int offset, int length ) : void
FinishSend ( Exception exception ) : void
PrepareAccept ( ) : void
SetRemoteCertificate ( X509Certificate remoteCertificate ) : void
SslTransportHandler ( ITransportLayerHandler next, IServerParameters serverParameters ) : System
StartAccept ( byte buffer, int offset, int length ) : void
StartDisconnect ( ) : void
StartReceive ( byte buffer, int offset, int length ) : void
StartSend ( byte buffer, int offset, int length ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FinishAccept() public method

public FinishAccept ( byte buffer, int offset, int length, IPEndPoint remoteEndPoint, IPEndPoint localEndPoint ) : void
buffer byte
offset int
length int
remoteEndPoint System.Net.IPEndPoint
localEndPoint System.Net.IPEndPoint
return void

FinishReceive() public method

public FinishReceive ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

FinishSend() public method

public FinishSend ( Exception exception ) : void
exception System.Exception
return void

PrepareAccept() public method

public PrepareAccept ( ) : void
return void

SetRemoteCertificate() public method

public SetRemoteCertificate ( X509Certificate remoteCertificate ) : void
remoteCertificate System.Security.Cryptography.X509Certificates.X509Certificate
return void

SslTransportHandler() public method

public SslTransportHandler ( ITransportLayerHandler next, IServerParameters serverParameters ) : System
next ITransportLayerHandler
serverParameters IServerParameters
return System

StartAccept() public method

public StartAccept ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

StartDisconnect() public method

public StartDisconnect ( ) : void
return void

StartReceive() public method

public StartReceive ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

StartSend() public method

public StartSend ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void