C# Class agsXMPP.net.BaseSocket

Base Socket class
Afficher le fichier Open project: SiteView/ECC8.13 Class Usage Examples

Méthodes publiques

Méthode Description
BaseSocket ( ) : System
Connect ( ) : void
Disconnect ( ) : void
Reset ( ) : void

Added for Bosh because we have to tell the BoshClientSocket when to reset the stream

Send ( byte bData ) : void

Send data to the server.

Send ( string data ) : void

StartCompression ( ) : void
StartTls ( ) : void

Méthodes protégées

Méthode Description
FireOnConnect ( ) : void
FireOnDisconnect ( ) : void
FireOnError ( Exception ex ) : void
FireOnReceive ( byte b, int length ) : void
FireOnSend ( byte b, int length ) : void
FireOnValidateCertificate ( X509Certificate certificate, int certificateErrors ) : bool
FireOnValidateCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

BaseSocket() public méthode

public BaseSocket ( ) : System
Résultat System

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

FireOnConnect() protected méthode

protected FireOnConnect ( ) : void
Résultat void

FireOnDisconnect() protected méthode

protected FireOnDisconnect ( ) : void
Résultat void

FireOnError() protected méthode

protected FireOnError ( Exception ex ) : void
ex System.Exception
Résultat void

FireOnReceive() protected méthode

protected FireOnReceive ( byte b, int length ) : void
b byte
length int
Résultat void

FireOnSend() protected méthode

protected FireOnSend ( byte b, int length ) : void
b byte
length int
Résultat void

FireOnValidateCertificate() protected méthode

protected FireOnValidateCertificate ( X509Certificate certificate, int certificateErrors ) : bool
certificate System.Security.Cryptography.X509Certificates.X509Certificate
certificateErrors int
Résultat bool

FireOnValidateCertificate() protected méthode

protected FireOnValidateCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
sslPolicyErrors SslPolicyErrors
Résultat bool

Reset() public méthode

Added for Bosh because we have to tell the BoshClientSocket when to reset the stream
public Reset ( ) : void
Résultat void

Send() public méthode

Send data to the server.
public Send ( byte bData ) : void
bData byte
Résultat void

Send() public méthode

public Send ( string data ) : void
data string
Résultat void

StartCompression() public méthode

public StartCompression ( ) : void
Résultat void

StartTls() public méthode

public StartTls ( ) : void
Résultat void