public interface MessageStore
Session
Modifier and Type | Method and Description |
---|---|
void |
get(int startSequence,
int endSequence,
Collection<String> messages)
Get messages within sequence number range (inclusive).
|
Date |
getCreationTime()
Get the session creation time.
|
int |
getNextSenderMsgSeqNum() |
int |
getNextTargetMsgSeqNum() |
void |
incrNextSenderMsgSeqNum() |
void |
incrNextTargetMsgSeqNum() |
void |
refresh()
Refresh session state from a shared state storage (e.g. database,
file, ...).
|
void |
reset()
Reset the message store.
|
boolean |
set(int sequence,
String message)
Adds a raw fix messages to the store with the given sequence number.
|
void |
setNextSenderMsgSeqNum(int next) |
void |
setNextTargetMsgSeqNum(int next) |
boolean set(int sequence, String message) throws IOException
sequence
- the sequence numbermessage
- the raw FIX message stringIOException
- IO errorvoid get(int startSequence, int endSequence, Collection<String> messages) throws IOException
startSequence
- the starting message sequence number.endSequence
- the ending message sequence number.messages
- the retrieved messages (out parameter)IOException
- IO errorint getNextSenderMsgSeqNum() throws IOException
IOException
int getNextTargetMsgSeqNum() throws IOException
IOException
void setNextSenderMsgSeqNum(int next) throws IOException
IOException
void setNextTargetMsgSeqNum(int next) throws IOException
IOException
void incrNextSenderMsgSeqNum() throws IOException
IOException
void incrNextTargetMsgSeqNum() throws IOException
IOException
Date getCreationTime() throws IOException
IOException
- IO errorvoid reset() throws IOException
IOException
- IO errorvoid refresh() throws IOException
IOException
Copyright © 2021. All rights reserved.