C# Класс AK.F1.Timing.Server.Proxy.ProxySessionManager

A AK.F1.Timing.Server.ISocketHandler which creates and manages a AK.F1.Timing.Server.Proxy.ProxySession for each connected client. Connected client are first sent all historial mesages from current active session and then go onto receive instantaneous updates. This class cannot be inherited.
Наследование: DisposableBase, ISocketHandler
Показать файл Открыть проект

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

Метод Описание
Handle ( Socket client ) : void
ProxySessionManager ( IMessageReader reader ) : System

Initilises a new instance of the AK.F1.Timing.Server.Proxy.ProxySessionManager class and specified the source AK.F1.Timing.IMessageReader.

Защищенные методы

Метод Описание
DisposeOfManagedResources ( ) : void

Приватные методы

Метод Описание
AddPendingStart ( Socket client ) : void
Dispose ( ) : void
ForEachSession ( Action action, bool throwIfCancellationRequested = true ) : void
MainTask ( ) : void
NextSessionId ( ) : int
OnSessionDisposed ( object sender, EventArgs e ) : void
ProcessPendingMessages ( ) : void
ProcessPendingRemoves ( ) : void
ProcessPendingStarts ( bool completeSessions ) : void
ReadMessagesTask ( ) : void
ThrowIfCancellationRequested ( ) : void

Описание методов

DisposeOfManagedResources() защищенный метод

protected DisposeOfManagedResources ( ) : void
Результат void

Handle() публичный метод

public Handle ( Socket client ) : void
client System.Net.Sockets.Socket
Результат void

ProxySessionManager() публичный метод

Initilises a new instance of the AK.F1.Timing.Server.Proxy.ProxySessionManager class and specified the source AK.F1.Timing.IMessageReader.
/// Thrown when is . ///
public ProxySessionManager ( IMessageReader reader ) : System
reader IMessageReader The source .
Результат System