C# 클래스 AK.F1.Timing.Utility.Server.Program

F1 Live-Timing Server for .NET 4.
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
Live ( string username, string password, IPEndPoint endpoint = null, int connectionBacklog = 50 ) : void

Proxies the live-timing message stream to connected clients.

Playback ( string path, double speed = 1d, IPEndPoint endpoint = null, int connectionBacklog = 50 ) : void

Proxies a recorded live-timing message stream to connected clients.

비공개 메소드들

메소드 설명
Main ( string args ) : void
Program ( ) : System
RegisterValueConverters ( ) : void
RunCore ( IMessageReader reader, IPEndPoint endpoint, int connectionBacklog ) : void

메소드 상세

Live() 공개 메소드

Proxies the live-timing message stream to connected clients.
/// Thrown when or is /// . /// /// Thrown when or is empty. /// /// Thrown when is not positive. ///
public Live ( string username, string password, IPEndPoint endpoint = null, int connectionBacklog = 50 ) : void
username string A valid www.formula1.com username.
password string The corresponding password.
endpoint System.Net.IPEndPoint The endpoint to bind to. The default is any on 4532.
connectionBacklog int The accept connection backlog.
리턴 void

Playback() 공개 메소드

Proxies a recorded live-timing message stream to connected clients.
/// Thrown when is . /// /// Thrown when is empty. /// /// Thrown when or is not positive. ///
public Playback ( string path, double speed = 1d, IPEndPoint endpoint = null, int connectionBacklog = 50 ) : void
path string The path of the recorded live-timing message stream.
speed double The playback speed.
endpoint System.Net.IPEndPoint The endpoint to bind to. The default is any on 4532.
connectionBacklog int The accept connection backlog.
리턴 void