C# Class RemObjects.InternetPack.SslConnection

Inheritance: Connection
Exibir arquivo Open project: remobjects/internetpack Class Usage Examples

Public Methods

Method Description
BeginConnect ( System endPoint, AsyncCallback callback, Object state ) : IAsyncResult
BeginConnect ( System address, Int32 port, AsyncCallback callback, Object state ) : IAsyncResult
Connect ( System endPoint ) : void
Connect ( System address, Int32 port ) : void
EndConnect ( IAsyncResult ar ) : void
InitializeClientConnection ( ) : void
SslConnection ( SslConnectionFactory factory, Binding binding ) : System
SslConnection ( SslConnectionFactory factory, Connection connection ) : System
SslConnection ( SslConnectionFactory factory, Socket socket ) : System

Protected Methods

Method Description
BeginInitializeClientConnection ( AsyncCallback callback, Object state ) : IAsyncResult
BeginInitializeServerConnection ( AsyncCallback callback, Object state ) : IAsyncResult
DataSocketClose ( ) : void
DataSocketClose ( System.Boolean dispose ) : void
DataSocketReceiveWhatsAvaiable ( Byte buffer, Int32 offset, Int32 size ) : Int32
DataSocketSendAsMuchAsPossible ( Byte buffer, Int32 offset, Int32 size ) : Int32
EndInitializeClientConnection ( IAsyncResult ar ) : void
EndInitializeServerConnection ( IAsyncResult ar ) : void
InitializeServerConnection ( ) : void
IntBeginRead ( Byte buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state ) : IAsyncResult
IntBeginWrite ( Byte buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state ) : IAsyncResult
IntEndRead ( IAsyncResult ar ) : Int32
IntEndWrite ( IAsyncResult ar ) : void

Private Methods

Method Description
BeginMonoSslRead ( Byte buffer, Int32 offset, Int32 size ) : IAsyncResult
BeginMonoSslWrite ( Byte buffer, Int32 offset, Int32 size ) : IAsyncResult
CreateSslClientStream ( ) : void
CreateSslServerStream ( ) : void
EndMonoSslRead ( IAsyncResult ar ) : Int32
EndMonoSslWrite ( IAsyncResult ar ) : void
GetNetSecurityProtocol ( ) : System.Security.Authentication.SslProtocols
InnerConnection_AsyncDisconnect ( Object sender, EventArgs e ) : void
InnerConnection_AsyncHaveIncompleteData ( Object sender, EventArgs e ) : void
MonoDataSocketReceiveWhatsAvaiable ( Byte buffer, Int32 offset, Int32 size ) : Int32
MonoDataSocketSendAsMuchAsPossible ( Byte buffer, Int32 offset, Int32 size ) : void
NativeDataSocketReceiveWhatsAvaiable ( Byte buffer, Int32 offset, Int32 size ) : Int32
NativeDataSocketSendAsMuchAsPossible ( Byte buffer, Int32 offset, Int32 size ) : void
NetSsl_RemoteCertificateValidation ( Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : System.Boolean

Method Details

BeginConnect() public method

public BeginConnect ( System endPoint, AsyncCallback callback, Object state ) : IAsyncResult
endPoint System
callback AsyncCallback
state Object
return IAsyncResult

BeginConnect() public method

public BeginConnect ( System address, Int32 port, AsyncCallback callback, Object state ) : IAsyncResult
address System
port System.Int32
callback AsyncCallback
state Object
return IAsyncResult

BeginInitializeClientConnection() protected method

protected BeginInitializeClientConnection ( AsyncCallback callback, Object state ) : IAsyncResult
callback AsyncCallback
state Object
return IAsyncResult

BeginInitializeServerConnection() protected method

protected BeginInitializeServerConnection ( AsyncCallback callback, Object state ) : IAsyncResult
callback AsyncCallback
state Object
return IAsyncResult

Connect() public method

public Connect ( System endPoint ) : void
endPoint System
return void

Connect() public method

public Connect ( System address, Int32 port ) : void
address System
port System.Int32
return void

DataSocketClose() protected method

protected DataSocketClose ( ) : void
return void

DataSocketClose() protected method

protected DataSocketClose ( System.Boolean dispose ) : void
dispose System.Boolean
return void

DataSocketReceiveWhatsAvaiable() protected method

protected DataSocketReceiveWhatsAvaiable ( Byte buffer, Int32 offset, Int32 size ) : Int32
buffer Byte
offset System.Int32
size System.Int32
return System.Int32

DataSocketSendAsMuchAsPossible() protected method

protected DataSocketSendAsMuchAsPossible ( Byte buffer, Int32 offset, Int32 size ) : Int32
buffer Byte
offset System.Int32
size System.Int32
return System.Int32

EndConnect() public method

public EndConnect ( IAsyncResult ar ) : void
ar IAsyncResult
return void

EndInitializeClientConnection() protected method

protected EndInitializeClientConnection ( IAsyncResult ar ) : void
ar IAsyncResult
return void

EndInitializeServerConnection() protected method

protected EndInitializeServerConnection ( IAsyncResult ar ) : void
ar IAsyncResult
return void

InitializeClientConnection() public method

public InitializeClientConnection ( ) : void
return void

InitializeServerConnection() protected method

protected InitializeServerConnection ( ) : void
return void

IntBeginRead() protected method

protected IntBeginRead ( Byte buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state ) : IAsyncResult
buffer Byte
offset System.Int32
count System.Int32
callback AsyncCallback
state Object
return IAsyncResult

IntBeginWrite() protected method

protected IntBeginWrite ( Byte buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state ) : IAsyncResult
buffer Byte
offset System.Int32
count System.Int32
callback AsyncCallback
state Object
return IAsyncResult

IntEndRead() protected method

protected IntEndRead ( IAsyncResult ar ) : Int32
ar IAsyncResult
return System.Int32

IntEndWrite() protected method

protected IntEndWrite ( IAsyncResult ar ) : void
ar IAsyncResult
return void

SslConnection() public method

public SslConnection ( SslConnectionFactory factory, Binding binding ) : System
factory SslConnectionFactory
binding Binding
return System

SslConnection() public method

public SslConnection ( SslConnectionFactory factory, Connection connection ) : System
factory SslConnectionFactory
connection Connection
return System

SslConnection() public method

public SslConnection ( SslConnectionFactory factory, Socket socket ) : System
factory SslConnectionFactory
socket System.Net.Sockets.Socket
return System