C# 클래스 agsXMPP.net.BaseSocket

Base Socket class
파일 보기 프로젝트 열기: SiteView/ECC8.13 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

BaseSocket() 공개 메소드

public BaseSocket ( ) : System
리턴 System

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

FireOnConnect() 보호된 메소드

protected FireOnConnect ( ) : void
리턴 void

FireOnDisconnect() 보호된 메소드

protected FireOnDisconnect ( ) : void
리턴 void

FireOnError() 보호된 메소드

protected FireOnError ( Exception ex ) : void
ex System.Exception
리턴 void

FireOnReceive() 보호된 메소드

protected FireOnReceive ( byte b, int length ) : void
b byte
length int
리턴 void

FireOnSend() 보호된 메소드

protected FireOnSend ( byte b, int length ) : void
b byte
length int
리턴 void

FireOnValidateCertificate() 보호된 메소드

protected FireOnValidateCertificate ( X509Certificate certificate, int certificateErrors ) : bool
certificate System.Security.Cryptography.X509Certificates.X509Certificate
certificateErrors int
리턴 bool

FireOnValidateCertificate() 보호된 메소드

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
리턴 bool

Reset() 공개 메소드

Added for Bosh because we have to tell the BoshClientSocket when to reset the stream
public Reset ( ) : void
리턴 void

Send() 공개 메소드

Send data to the server.
public Send ( byte bData ) : void
bData byte
리턴 void

Send() 공개 메소드

public Send ( string data ) : void
data string
리턴 void

StartCompression() 공개 메소드

public StartCompression ( ) : void
리턴 void

StartTls() 공개 메소드

public StartTls ( ) : void
리턴 void