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
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
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