Class MmfMessageStorage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Storage.File
Assembly: FixAntenna.Core.dll
Syntax
public class MmfMessageStorage : FlatFileMessageStorage, IMessageStorage, IDisposable
Constructors
MmfMessageStorage(Config)
Declaration
public MmfMessageStorage(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |
Methods
AppendMessageInternal(Int64, Byte[], Int32, Int32)
Appends message to storage
Declaration
protected override long AppendMessageInternal(long ticks, byte[] message, int offset, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | ticks | the timestamp parameter, in .Net Tick units. |
| System.Byte[] | message | the array of bytes |
| System.Int32 | offset | |
| System.Int32 | length |
Returns
| Type | Description |
|---|---|
| System.Int64 |
Overrides
Exceptions
| Type | Condition |
|---|---|
| System.IO.IOException | if I/O error occurred |
Close()
Declaration
public override void Close()
Overrides
Initialize()
Initialize the storage.
This method should be called before file storage is used.
Storage file and some variable (like FormatLength) are initialized in it.
Declaration
public override long Initialize()
Returns
| Type | Description |
|---|---|
| System.Int64 | the last sequence number |
Overrides
Exceptions
| Type | Condition |
|---|---|
| System.IO.IOException | if I/O error occurred |
Implements
System.IDisposable