C# Class AK.F1.Timing.Playback.RecordedMessageReader

Provides An AK.F1.Timing.Playback.IRecordedMessageReader which reads AK.F1.Timing.Messages which have been recorded by a AK.F1.Timing.Playback.RecordingMessageReader.
Inheritance: MessageReaderBase, IRecordedMessageReader
Show file Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Property Type Description
Initialise void

Public Methods

Method Description
RecordedMessageReader ( Stream input, bool ownsInput ) : System.IO

Initialises a new instance of the RecordedMessageReader class and specifies the input stream and a value indicating if the stream is owned by the reader.

RecordedMessageReader ( string path ) : System.IO

Initialises a new instance of the RecordedMessageReader class and specifies the input file path.

Protected Methods

Method Description
DisposeOfManagedResources ( ) : void
ReadImpl ( ) : Message

Private Methods

Method Description
Initialise ( Stream input, bool ownsInput ) : void

Method Details

DisposeOfManagedResources() protected method

protected DisposeOfManagedResources ( ) : void
return void

ReadImpl() protected method

protected ReadImpl ( ) : Message
return Message

RecordedMessageReader() public method

Initialises a new instance of the RecordedMessageReader class and specifies the input stream and a value indicating if the stream is owned by the reader.
public RecordedMessageReader ( Stream input, bool ownsInput ) : System.IO
input System.IO.Stream The input stream.
ownsInput bool if the reader owns the specified /// stream, otherwise; .
return System.IO

RecordedMessageReader() public method

Initialises a new instance of the RecordedMessageReader class and specifies the input file path.
/// Thrown when is . /// /// Thrown when an IO error occurs whilst creating the internal /// using the supplied arguments. ///
public RecordedMessageReader ( string path ) : System.IO
path string The input file path.
return System.IO