C# 클래스 SuperSocket.SocketEngine.AsyncSocketSession

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

공개 메소드들

메소드 설명
ApplySecureProtocol ( ) : void
AsyncSocketSession ( Socket client, IPool saePoolForReceive ) : System
AsyncSocketSession ( Socket client, IPool saePoolForReceive, bool isReset ) : System
Initialize ( IAppSession appSession ) : void
ProcessReceive ( SocketAsyncEventArgs e ) : void
Start ( ) : void

보호된 메소드들

메소드 설명
OnClosed ( CloseReason reason ) : void
SendAsync ( SendingQueue queue ) : void
SendSync ( SendingQueue queue ) : void

비공개 메소드들

메소드 설명
ClearPrevSendState ( SocketAsyncEventArgs e ) : void
OnSendingCompleted ( object sender, SocketAsyncEventArgs e ) : void
ProcessCompleted ( SocketAsyncEventArgs e ) : bool
StartReceive ( SocketAsyncEventArgs e ) : void

메소드 상세

ApplySecureProtocol() 공개 메소드

public ApplySecureProtocol ( ) : void
리턴 void

AsyncSocketSession() 공개 메소드

public AsyncSocketSession ( Socket client, IPool saePoolForReceive ) : System
client System.Net.Sockets.Socket
saePoolForReceive IPool
리턴 System

AsyncSocketSession() 공개 메소드

public AsyncSocketSession ( Socket client, IPool saePoolForReceive, bool isReset ) : System
client System.Net.Sockets.Socket
saePoolForReceive IPool
isReset bool
리턴 System

Initialize() 공개 메소드

public Initialize ( IAppSession appSession ) : void
appSession IAppSession
리턴 void

OnClosed() 보호된 메소드

protected OnClosed ( CloseReason reason ) : void
reason CloseReason
리턴 void

ProcessReceive() 공개 메소드

public ProcessReceive ( SocketAsyncEventArgs e ) : void
e System.Net.Sockets.SocketAsyncEventArgs
리턴 void

SendAsync() 보호된 메소드

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

SendSync() 보호된 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void