C# 클래스 SuperSocket.SocketEngine.AsyncStreamSocketSession

상속: SocketSession, IAsyncSocketSessionBase, INegotiateSocketSession
파일 보기 프로젝트 열기: kerryjiang/SuperSocket 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeginInitStream IAsyncResult
CreateSslStream System.Net.Security.SslStream
INegotiateSocketSession void
OnBeginInitStream void
OnBeginInitStream void
OnBeginInitStreamOnSessionConnected void
OnEndWrite void
OnNegotiateCompleted void
OnSessionStarting void
OnStreamEndRead void
ValidateClientCertificate bool

공개 메소드들

메소드 설명
ApplySecureProtocol ( ) : void
AsyncStreamSocketSession ( Socket client, SslProtocols security, IPool bufferStatePool ) : System
AsyncStreamSocketSession ( Socket client, SslProtocols security, IPool bufferStatePool, bool isReset ) : System
Start ( ) : void

Starts this session communication.

보호된 메소드들

메소드 설명
OnSendingCompleted ( SendingQueue queue ) : void
SendAsync ( SendingQueue queue ) : void
SendSync ( SendingQueue queue ) : void

비공개 메소드들

메소드 설명
BeginInitStream ( AsyncCallback asyncCallback ) : IAsyncResult
CreateSslStream ( ICertificateConfig certConfig ) : SslStream
INegotiateSocketSession ( ) : void
OnBeginInitStream ( IAsyncResult result ) : void
OnBeginInitStream ( IAsyncResult result, bool connect ) : void
OnBeginInitStreamOnSessionConnected ( IAsyncResult result ) : void
OnEndWrite ( IAsyncResult result ) : void
OnNegotiateCompleted ( bool negotiateResult ) : void
OnSessionStarting ( ) : void
OnStreamEndRead ( IAsyncResult result ) : void
ValidateClientCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

메소드 상세

ApplySecureProtocol() 공개 메소드

public ApplySecureProtocol ( ) : void
리턴 void

AsyncStreamSocketSession() 공개 메소드

public AsyncStreamSocketSession ( Socket client, SslProtocols security, IPool bufferStatePool ) : System
client System.Net.Sockets.Socket
security SslProtocols
bufferStatePool IPool
리턴 System

AsyncStreamSocketSession() 공개 메소드

public AsyncStreamSocketSession ( Socket client, SslProtocols security, IPool bufferStatePool, bool isReset ) : System
client System.Net.Sockets.Socket
security SslProtocols
bufferStatePool IPool
isReset bool
리턴 System

OnSendingCompleted() 보호된 메소드

protected OnSendingCompleted ( SendingQueue queue ) : void
queue SendingQueue
리턴 void

SendAsync() 보호된 메소드

protected SendAsync ( SendingQueue queue ) : void
queue SendingQueue
리턴 void

SendSync() 보호된 메소드

protected SendSync ( SendingQueue queue ) : void
queue SendingQueue
리턴 void

Start() 공개 메소드

Starts this session communication.
public Start ( ) : void
리턴 void