Class FilesystemStorageFactory
Provides ability to store messages in the file.
Inheritance
System.Object
FilesystemStorageFactory
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()
Assembly: FixAntenna.Core.dll
Syntax
public class FilesystemStorageFactory : IStorageFactory
Constructors
FilesystemStorageFactory(Config)
Creates the FilesystemStorageFactory
storage.
Declaration
public FilesystemStorageFactory(Config configuration)
Parameters
Type |
Name |
Description |
Config |
configuration |
|
Fields
BackupIncomingLogFileLocator
Locator for backup files of incoming storage
Declaration
protected ILogFileLocator BackupIncomingLogFileLocator
Field Value
BackupOutgoingLogFileLocator
Locator for backup files of outgoing storage
Declaration
protected ILogFileLocator BackupOutgoingLogFileLocator
Field Value
Config
Declaration
protected ConfigurationAdaptor Config
Field Value
IncomingLogFileLocator
Locator for incoming storage file
Declaration
protected ILogFileLocator IncomingLogFileLocator
Field Value
OutgoingLogFileLocator
Locator for outgoing storage file
Declaration
protected ILogFileLocator OutgoingLogFileLocator
Field Value
PropertyFileLocator
Locator for session property file
Declaration
protected ILogFileLocator PropertyFileLocator
Field Value
QueueFileLocator
Locator for outgoing queue
Declaration
protected ILogFileLocator QueueFileLocator
Field Value
StateFileLocator
Declaration
protected ILogFileLocator StateFileLocator
Field Value
Methods
GetIncomingLogFileLocator()
Declaration
public virtual ILogFileLocator GetIncomingLogFileLocator()
Returns
GetIncomingMessageStorage(SessionParameters)
Declaration
public virtual IMessageStorage GetIncomingMessageStorage(SessionParameters sessionParameters)
Parameters
Returns
See Also
GetOutgoingLogFileLocator()
Declaration
public virtual ILogFileLocator GetOutgoingLogFileLocator()
Returns
GetOutgoingMessageStorage(SessionParameters)
Declaration
public virtual IMessageStorage GetOutgoingMessageStorage(SessionParameters sessionParameters)
Parameters
Returns
GetQueue(SessionParameters)
Declaration
public virtual IQueue<FixMessageWithType> GetQueue(SessionParameters sessionParameters)
Parameters
Returns
LoadSessionParameters(SessionParameters, FixSessionRuntimeState)
Loads session parameters from file.
Declaration
public virtual bool LoadSessionParameters(SessionParameters sessionParameters, FixSessionRuntimeState state)
Parameters
Returns
Type |
Description |
System.Boolean |
true if loaded
|
SaveSessionParameters(SessionParameters, FixSessionRuntimeState)
Stores session parameters to file.
Declaration
public virtual void SaveSessionParameters(SessionParameters sessionParameters, FixSessionRuntimeState state)
Parameters
Exceptions
Type |
Condition |
System.IO.IOException |
if I/O error occurred
|
SetIncomingLogFileLocator(ILogFileLocator)
Declaration
public virtual void SetIncomingLogFileLocator(ILogFileLocator incomingLogFileLocator)
Parameters
SetOutgoingLogFileLocator(ILogFileLocator)
Declaration
public virtual void SetOutgoingLogFileLocator(ILogFileLocator outgoingLogFileLocator)
Parameters
SetPropertyFileLocator(ILogFileLocator)
Declaration
public virtual void SetPropertyFileLocator(ILogFileLocator propertyFileLocator)
Parameters
SetQueueFileLocator(ILogFileLocator)
Declaration
public virtual void SetQueueFileLocator(ILogFileLocator queueFileLocator)
Parameters
Implements