public class MMFStorageFactory extends FilesystemStorageFactory
backupIncomingLogFileLocator, backupOutgoingLogFileLocator, config, incomingLogFileLocator, outgoingLogFileLocator, propertyFileLocator, queueFileLocator, stateFileLocator
Constructor and Description |
---|
MMFStorageFactory(com.epam.fixengine.configuration.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
MessageStorage |
getIncomingMessageStorage(SessionParameters sessionParameters)
Gets incoming message storage.
|
MessageStorage |
getOutgoingMessageStorage(SessionParameters sessionParameters)
Gets outgoing message storage.
|
Queue<FIXFieldListWithType> |
getQueue(SessionParameters sessionParameters)
Gets queue for session.
|
checkDirectories, createLocators, getBackupIncomingLogFileLocator, getBackupOutgoingLogFileLocator, getIncomingLogFileLocator, getOutgoingLogFileLocator, getPropertyFileLocator, getQueueFileLocator, getStateFileLocator, loadSessionParameters, saveSessionParameters, setBackupIncomingLogFileLocator, setBackupOutgoingLogFileLocator, setIncomingLogFileLocator, setOutgoingLogFileLocator, setPropertyFileLocator, setQueueFileLocator, setStateFileLocator
public MMFStorageFactory(com.epam.fixengine.configuration.Configuration configuration)
public MessageStorage getIncomingMessageStorage(SessionParameters sessionParameters)
incomingStorageIndexed
configured,
the message storage will be MMFIndexedMessageStorage
,
otherwise MMFMessageStorage
getIncomingMessageStorage
in interface StorageFactory
getIncomingMessageStorage
in class FilesystemStorageFactory
sessionParameters
- the session parametersStorageFactory
public MessageStorage getOutgoingMessageStorage(SessionParameters sessionParameters)
outgoingStorageIndexed
configured,
the message storage will be MMFIndexedMessageStorage
,
otherwise MMFMessageStorage
getOutgoingMessageStorage
in interface StorageFactory
getOutgoingMessageStorage
in class FilesystemStorageFactory
sessionParameters
- the session parameterspublic Queue<FIXFieldListWithType> getQueue(SessionParameters sessionParameters)
inMemoryQueue
configured, the queue will be InMemoryQueue
,
otherwise PersistentInMemoryQueue
.getQueue
in interface StorageFactory
getQueue
in class FilesystemStorageFactory
sessionParameters
- the parameter for sessionCopyright © 2000–2022 EPAM Systems. All rights reserved.