C# Class AK.F1.Timing.Live.LiveMessageReaderStateEngine

Inheritance: MessageVisitorBase, IMessageProcessor
Show file Open project: simoneb/ak-f1-timing Class Usage Examples

Public Methods

Method Description
LiveMessageReaderStateEngine ( LiveMessageReader reader ) : System

Initialises a new instance of the LiveMessageReaderStateEngine class and specified the reader to update.

Process ( Message message ) : void
Visit ( EndOfSessionMessage message ) : void

Updates the reader state to LiveMessageReaderState.Closed.

Visit ( SetKeyframeMessage message ) : void

Resets the current decrypter.

Visit ( SetPingIntervalMessage message ) : void

Updates the ping internal on the current message reader.

Visit ( SetSessionTypeMessage message ) : void

Sets the current reader session type and creates a new decrypter for the session identifier specified by the message.

Method Details

LiveMessageReaderStateEngine() public method

Initialises a new instance of the LiveMessageReaderStateEngine class and specified the reader to update.
public LiveMessageReaderStateEngine ( LiveMessageReader reader ) : System
reader LiveMessageReader The reader to update.
return System

Process() public method

public Process ( Message message ) : void
message Message
return void

Visit() public method

Updates the reader state to LiveMessageReaderState.Closed.
public Visit ( EndOfSessionMessage message ) : void
message AK.F1.Timing.Messages.Session.EndOfSessionMessage The message.
return void

Visit() public method

Resets the current decrypter.
public Visit ( SetKeyframeMessage message ) : void
message AK.F1.Timing.Messages.Feed.SetKeyframeMessage The message.
return void

Visit() public method

Updates the ping internal on the current message reader.
public Visit ( SetPingIntervalMessage message ) : void
message AK.F1.Timing.Messages.Feed.SetPingIntervalMessage The message.
return void

Visit() public method

Sets the current reader session type and creates a new decrypter for the session identifier specified by the message.
public Visit ( SetSessionTypeMessage message ) : void
message AK.F1.Timing.Messages.Session.SetSessionTypeMessage The message.
return void