-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationio NetworkGameLogReader
RaidMax edited this page May 21, 2023
·
1 revision
provides capability of reading log files over udp
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.IO
IW4MAdmin.Application.IO.NetworkGameLogReader[[NetworkGameLogReader]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IGameLogReader[[IGameLogReader]]
class SharedLibraryCore.Interfaces.IGameLogReader interfaceStyle;
end
SharedLibraryCore.Interfaces.IGameLogReader --> IW4MAdmin.Application.IO.NetworkGameLogReader
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 udp
public NetworkGameLogReader(IReadOnlyList<Uri> uris, IEventParser parser, ILogger<NetworkGameLogReader> logger)
Type | Name | Description |
---|---|---|
IReadOnlyList <Uri > |
uris | |
IEventParser |
parser | |
ILogger <NetworkGameLogReader > |
logger |
public virtual 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