C# Класс AK.F1.Timing.Playback.RecordingMessageReader

Provides a AK.F1.Timing.IMessageReader decorator which records the AK.F1.Timing.Messages read from an inner AK.F1.Timing.IMessageReader.
Наследование: MessageReaderBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Initialise void
Write void
WriteDelay void

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

Метод Описание
RecordingMessageReader ( IMessageReader inner, Stream output, bool ownsOutput ) : System

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader, the output stream and a value indicating if the decorator owns the output.

RecordingMessageReader ( IMessageReader inner, string path ) : System

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader and the output file path.

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

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

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

Метод Описание
Initialise ( IMessageReader inner, Stream output, bool ownsOutput ) : void
Write ( Message message ) : void
WriteDelay ( ) : void

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

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

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

ReadImpl() защищенный Метод

protected ReadImpl ( ) : Message
Результат Message

RecordingMessageReader() публичный Метод

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader, the output stream and a value indicating if the decorator owns the output.
/// Thrown when or is /// . ///
public RecordingMessageReader ( IMessageReader inner, Stream output, bool ownsOutput ) : System
inner IMessageReader The inner message reader.
output Stream The output stream.
ownsOutput bool if the decorator owns the specified output /// stream, otherwise; .
Результат System

RecordingMessageReader() публичный Метод

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader and the output file path.
/// Thrown when or is /// . /// /// Thrown when an IO error occurs whilst creating the internal /// using the supplied arguments. ///
public RecordingMessageReader ( IMessageReader inner, string path ) : System
inner IMessageReader The inner message reader.
path string The output file path.
Результат System