Close the persistent store and record the time the session closed.
Close the persistent store and record the time the session closed. If it is opened tomorrow then sequence numbers reset down to 1
Deals with close from the previous day and the fact this process was not restarted ie will reset the sequence numbers back to 1
Called back from the state machine when an action should be taken - either a reply message or close the socket etc.
Called back from the state machine when an action should be taken - either a reply message or close the socket etc.
The action
A fix message has arrived.
A fix message has arrived. Yippee (I guess)
The incoming message
Try to retrieve all the fix messages from the store, or if there are gaps then send a gap fill instead.
Try to retrieve all the fix messages from the store, or if there are gaps then send a gap fill instead. Note that its generally stupid to resent admin messages....up to you if you stick them in your message store or not.
The first one to send back
The last one to send back
Creates the full message which can be sent out.
Creates the full message which can be sent out. Also store the message in the message store - but NOT admin messages. ANd then send it out