C# 클래스 SharpUV.TcpServer

상속: UvHandle
파일 보기 프로젝트 열기: gigi81/sharpuv

공개 메소드들

메소드 설명
DisconnectAllClients ( ) : void
StartListening ( IPEndPoint endpoint, Action callback = null ) : void
TcpServer ( ) : System
TcpServer ( Loop loop ) : System

보호된 메소드들

메소드 설명
CreateClientSocket ( ) : TcpServerSocket
Dispose ( bool disposing ) : void
InitDelegates ( ) : void
OnClientConnected ( UvArgs args ) : void
OnClose ( UvArgs args ) : void

비공개 메소드들

메소드 설명
AddClient ( ) : TcpServerSocket
OnClientConnected ( IntPtr server, int status ) : void
RemoveClient ( TcpServerSocket client ) : void

메소드 상세

CreateClientSocket() 보호된 메소드

protected CreateClientSocket ( ) : TcpServerSocket
리턴 TcpServerSocket

DisconnectAllClients() 공개 메소드

public DisconnectAllClients ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InitDelegates() 보호된 메소드

protected InitDelegates ( ) : void
리턴 void

OnClientConnected() 보호된 메소드

protected OnClientConnected ( UvArgs args ) : void
args UvArgs
리턴 void

OnClose() 보호된 메소드

protected OnClose ( UvArgs args ) : void
args UvArgs
리턴 void

StartListening() 공개 메소드

public StartListening ( IPEndPoint endpoint, Action callback = null ) : void
endpoint System.Net.IPEndPoint
callback Action
리턴 void

TcpServer() 공개 메소드

public TcpServer ( ) : System
리턴 System

TcpServer() 공개 메소드

public TcpServer ( Loop loop ) : System
loop Loop
리턴 System