1 iw4madminapplicationio GameLogReaderHttp
RaidMax edited this page 2023-05-20 22:09:21 -05:00

GameLogReaderHttp Internal class

Description

provides capability of reading log files over HTTP

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.IO
  IW4MAdmin.Application.IO.GameLogReaderHttp[[GameLogReaderHttp]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IGameLogReader[[IGameLogReader]]
  class SharedLibraryCore.Interfaces.IGameLogReader interfaceStyle;
  end
SharedLibraryCore.Interfaces.IGameLogReader --> IW4MAdmin.Application.IO.GameLogReaderHttp

Members

Properties

Public properties

Type Name Methods
long Length get
int UpdateInterval get

Methods

Public methods

Returns Name
Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)

Details

Summary

provides capability of reading log files over HTTP

Inheritance

Constructors

GameLogReaderHttp

Source code

public GameLogReaderHttp(Uri[] gameLogServerUris, IEventParser parser, ILogger<GameLogReaderHttp> logger)
Arguments
Type Name Description
Uri``[] gameLogServerUris
IEventParser parser
ILogger<GameLogReaderHttp> logger

Methods

ReadEventsFromLog

Source code

public virtual async Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)
Arguments
Type Name Description
long fileSizeDiff
long startPosition
Server server

Properties

Length

public virtual long Length { get; }

UpdateInterval

public virtual int UpdateInterval { get; }

Generated with ModularDoc