C# Класс AK.F1.Timing.Utility.Server.Program

F1 Live-Timing Server for .NET 4.
Показать файл Открыть проект

Открытые методы

Метод Описание
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