-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationio GameLogReaderHttp
RaidMax edited this page May 21, 2023
·
1 revision
provides capability of reading log files over HTTP
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
Type | Name | Methods |
---|---|---|
long |
Length |
get |
int |
UpdateInterval |
get |
Returns | Name |
---|---|
Task <IEnumerable <GameEvent >> |
ReadEventsFromLog (long fileSizeDiff, long startPosition, Server server) |
provides capability of reading log files over HTTP
public GameLogReaderHttp(Uri[] gameLogServerUris, IEventParser parser, ILogger<GameLogReaderHttp> logger)
Type | Name | Description |
---|---|---|
Uri``[] |
gameLogServerUris | |
IEventParser |
parser | |
ILogger <GameLogReaderHttp > |
logger |
public virtual async Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)
Type | Name | Description |
---|---|---|
long |
fileSizeDiff | |
long |
startPosition | |
Server |
server |
public virtual long Length { get; }
public virtual int UpdateInterval { get; }
Generated with ModularDoc