C# Класс CK.Monitoring.MultiLogReader.RawLogFileMonitorOccurence

Immutable object that describes the occurrence of a Monitor in a RawLogFile.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
FirstOffset long
LogFile RawLogFile
MonitorId System.Guid

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

Метод Описание
CreateFilteredReader ( long streamOffset ) : LogReader

Creates and opens a LogReader that reads unicast entries only from this monitor. The reader is initially positioned before the entry (i.e. LogReader.MoveNext must be called).

CreateFilteredReaderAndMoveTo ( DateTimeStamp logTime ) : LogReader

Opens a LogReader that reads unicast entries only from this monitor and positions it on the first entry with the given time (i.e. LogReader.MoveNext has been called).

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

Метод Описание
RawLogFileMonitorOccurence ( RawLogFile f, System.Guid monitorId, long streamOffset ) : System

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

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

Creates and opens a LogReader that reads unicast entries only from this monitor. The reader is initially positioned before the entry (i.e. LogReader.MoveNext must be called).
public CreateFilteredReader ( long streamOffset ) : LogReader
streamOffset long Initial stream position.
Результат LogReader

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

Opens a LogReader that reads unicast entries only from this monitor and positions it on the first entry with the given time (i.e. LogReader.MoveNext has been called).
public CreateFilteredReaderAndMoveTo ( DateTimeStamp logTime ) : LogReader
logTime DateTimeStamp Log time. Must exist in the stream otherwise an exception is thrown.
Результат LogReader

Описание свойств

FirstOffset публичное свойство

First offset for this MonitorId in this LogFile.
public long FirstOffset
Результат long

LogFile публичное свойство

The RawLogFile.
public RawLogFile LogFile
Результат RawLogFile

MonitorId публичное свойство

The monitor's identifier.
public Guid,System MonitorId
Результат System.Guid