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
IOExceptionint getNextTargetMsgSeqNum()
                    throws IOException
IOExceptionvoid setNextSenderMsgSeqNum(int next)
                     throws IOException
IOExceptionvoid setNextTargetMsgSeqNum(int next)
                     throws IOException
IOExceptionvoid incrNextSenderMsgSeqNum()
                      throws IOException
IOExceptionvoid incrNextTargetMsgSeqNum()
                      throws IOException
IOExceptionDate getCreationTime() throws IOException
IOException - IO errorvoid reset()
    throws IOException
IOException - IO errorvoid refresh()
      throws IOException
IOExceptionCopyright © 2021. All rights reserved.