C# 클래스 SuperSocket.ClientEngine.TcpClientSession

상속: SuperSocket.ClientEngine.ClientSession
파일 보기 프로젝트 열기: kerryjiang/SuperSocket.ClientEngine 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
Connect ( EndPoint remoteEndPoint ) : void
TcpClientSession ( ) : System
TrySend ( ArraySegment segment ) : bool
TrySend ( IList segments ) : bool

보호된 메소드들

메소드 설명
EnsureSocketClosed ( ) : bool
EnsureSocketClosed ( Socket prevClient ) : bool
IsIgnorableException ( Exception e ) : bool
IsIgnorableSocketError ( int errorCode ) : bool
OnGetSocket ( SocketAsyncEventArgs e ) : void
OnSendingCompleted ( ) : void
ProcessConnect ( Socket socket, object state, SocketAsyncEventArgs e ) : void
Proxy_Completed ( object sender, SuperSocket.ClientEngine.ProxyEventArgs e ) : void
SendInternal ( PosList items ) : void
SocketEventArgsCompleted ( object sender, SocketAsyncEventArgs e ) : void

비공개 메소드들

메소드 설명
DequeueSend ( ) : void
DetectConnected ( ) : bool
GetHostOfEndPoint ( EndPoint endPoint ) : string
GetSendingItems ( ) : PosList>
GetSendingQueue ( ) : IBatchQueue>

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( EndPoint remoteEndPoint ) : void
remoteEndPoint System.Net.EndPoint
리턴 void

EnsureSocketClosed() 보호된 메소드

protected EnsureSocketClosed ( ) : bool
리턴 bool

EnsureSocketClosed() 보호된 메소드

protected EnsureSocketClosed ( Socket prevClient ) : bool
prevClient Socket
리턴 bool

IsIgnorableException() 보호된 메소드

protected IsIgnorableException ( Exception e ) : bool
e System.Exception
리턴 bool

IsIgnorableSocketError() 보호된 메소드

protected IsIgnorableSocketError ( int errorCode ) : bool
errorCode int
리턴 bool

OnGetSocket() 보호된 추상적인 메소드

protected abstract OnGetSocket ( SocketAsyncEventArgs e ) : void
e SocketAsyncEventArgs
리턴 void

OnSendingCompleted() 보호된 메소드

protected OnSendingCompleted ( ) : void
리턴 void

ProcessConnect() 보호된 메소드

protected ProcessConnect ( Socket socket, object state, SocketAsyncEventArgs e ) : void
socket Socket
state object
e SocketAsyncEventArgs
리턴 void

Proxy_Completed() 보호된 메소드

protected Proxy_Completed ( object sender, SuperSocket.ClientEngine.ProxyEventArgs e ) : void
sender object
e SuperSocket.ClientEngine.ProxyEventArgs
리턴 void

SendInternal() 보호된 추상적인 메소드

protected abstract SendInternal ( PosList items ) : void
items PosList
리턴 void

SocketEventArgsCompleted() 보호된 추상적인 메소드

protected abstract SocketEventArgsCompleted ( object sender, SocketAsyncEventArgs e ) : void
sender object
e SocketAsyncEventArgs
리턴 void

TcpClientSession() 공개 메소드

public TcpClientSession ( ) : System
리턴 System

TrySend() 공개 메소드

public TrySend ( ArraySegment segment ) : bool
segment ArraySegment
리턴 bool

TrySend() 공개 메소드

public TrySend ( IList segments ) : bool
segments IList
리턴 bool