C# 클래스 AK.F1.Timing.Server.TcpServer

상속: DisposableBase
파일 보기 프로젝트 열기: simoneb/ak-f1-timing 1 사용 예제들

공개 메소드들

메소드 설명
Start ( ) : void

Starts the server accepting incoming connection requests.

TcpServer ( IPEndPoint endpoint, ISocketHandler handler, int backlog = 50 ) : System

Initialises a new instance of the AK.F1.Timing.Server.TcpServer class.

보호된 메소드들

메소드 설명
DisposeOfManagedResources ( ) : void

비공개 메소드들

메소드 설명
AcceptAsync ( ) : void
Dispose ( ) : void
DisposeOfAcceptEvent ( ) : void
DisposeOfHandler ( ) : void
DisposeOfListener ( ) : void
InitialiseAcceptEvent ( ) : void
InitialiseListener ( ) : void
OnAcceptEventCompleted ( object sender, SocketAsyncEventArgs e ) : void

메소드 상세

DisposeOfManagedResources() 보호된 메소드

protected DisposeOfManagedResources ( ) : void
리턴 void

Start() 공개 메소드

Starts the server accepting incoming connection requests.
/// Thrown when this instance has been disposed of. /// /// A caller higher in the call stack does not have permission for the requested operation. /// /// Thrown when an error occurred when attempting to bind the underlying socket. ///
public Start ( ) : void
리턴 void

TcpServer() 공개 메소드

Initialises a new instance of the AK.F1.Timing.Server.TcpServer class.
/// Thrown when or is . /// /// Thrown when is not positive. ///
public TcpServer ( IPEndPoint endpoint, ISocketHandler handler, int backlog = 50 ) : System
endpoint System.Net.IPEndPoint The remote end point to listen on.
handler ISocketHandler The client connection handler.
backlog int The accept connection backlog.
리턴 System