Class ReplayOptions
Contains options to start handler in replay logs mode.
Inheritance
System.Object
ReplayOptions
Namespace: OnixS.CmeMdHandler
Assembly: OnixS.CmeMdHandler.dll
Syntax
public class ReplayOptions : object
Constructors
ReplayOptions()
Constructor.
Declaration
public ReplayOptions()
ReplayOptions(Stream)
Constructor.
Declaration
public ReplayOptions(Stream logStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | logStream | Log stream. |
ReplayOptions(String)
Constructor.
Declaration
public ReplayOptions(string pathToLog)
Parameters
Type | Name | Description |
---|---|---|
System.String | pathToLog | Path to log file. |
Properties
DelayBetweenMessages
Delay between messages in milliseconds.
Declaration
public int DelayBetweenMessages { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Logs
Gets list of log files. These logs will be played after log in LogStream, if specified.
Declaration
public List<string> Logs { get; }
Property Value
Type | Description |
---|---|
List<System.String> |
LogStream
Gets or sets log stream. This stream will be played before logs in Logs, if specified.
Declaration
public Stream LogStream { get; set; }
Property Value
Type | Description |
---|---|
Stream |