public class InMemoryStorageFactory extends Object implements StorageFactory
Constructor and Description |
---|
InMemoryStorageFactory()
Deprecated.
|
InMemoryStorageFactory(com.epam.fixengine.configuration.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
MessageStorage |
getIncomingMessageStorage(SessionParameters details)
Get incoming message storage instance.
|
MessageStorage |
getOutgoingMessageStorage(SessionParameters details)
Get outgoing message storage instance.
|
Queue<FIXFieldListWithType> |
getQueue(SessionParameters sessionParameters)
Create and return a InMemoryQueue instance.
|
boolean |
loadSessionParameters(SessionParameters sessionParameters,
FIXSessionRuntimeState state)
Save session parameters.
|
void |
restoreSessionParameters(SessionParameters sessionParameters) |
void |
saveSessionParameters(SessionParameters details,
FIXSessionRuntimeState state)
Save session parameters.
|
@Deprecated public InMemoryStorageFactory()
public InMemoryStorageFactory(com.epam.fixengine.configuration.Configuration configuration)
public MessageStorage getIncomingMessageStorage(SessionParameters details)
StorageFactory
getIncomingMessageStorage
in interface StorageFactory
details
- session parametersStorageFactory.getIncomingMessageStorage(com.epam.fixengine.SessionParameters)
public MessageStorage getOutgoingMessageStorage(SessionParameters details)
StorageFactory
getOutgoingMessageStorage
in interface StorageFactory
details
- session parametersStorageFactory.getOutgoingMessageStorage(com.epam.fixengine.SessionParameters)
public void saveSessionParameters(SessionParameters details, FIXSessionRuntimeState state) throws IOException
StorageFactory
saveSessionParameters
in interface StorageFactory
details
- session parametersIOException
- - if error occurredcom.epam.fixengine.storage.StorageFactory#saveSessionParameters(com.epam.fixengine.SessionParameters)
public boolean loadSessionParameters(SessionParameters sessionParameters, FIXSessionRuntimeState state)
StorageFactory
loadSessionParameters
in interface StorageFactory
sessionParameters
- session parameterscom.epam.fixengine.storage.StorageFactory#loadSessionParameters(com.epam.fixengine.SessionParameters)
public void restoreSessionParameters(SessionParameters sessionParameters) throws IOException
IOException
com.epam.fixengine.storage.StorageFactory#restoreSessionParameters(com.epam.fixengine.SessionParameters)
public Queue<FIXFieldListWithType> getQueue(SessionParameters sessionParameters)
getQueue
in interface StorageFactory
sessionParameters
- the session parametersCopyright © 2000–2022 EPAM Systems. All rights reserved.