46 virtual
void close(
bool keepSequenceNumbers,
bool doBackup) = 0;
#define ONIXS_FIXENGINE_API
#define ONIXS_FIXENGINE_DEFAULT
Provides an access to FIX fields from a flat (tag=value) message.
The Session Storage listener that is used to replay messages.
virtual void onReplayedMessage(const RawMessagePointer &pointer)=0
The Implementation should pass required messages one by one to this method.
virtual ~ISessionStorageListener() ONIXS_FIXENGINE_DEFAULT
The session's pluggable storage.
virtual void close(bool keepSequenceNumbers, bool doBackup)=0
Closes the storage.
virtual size_t resendingQueueSize() const =0
Returns the number of sent messages that are available for resending on counterparty's Resend Request...
virtual void setSessionTerminationFlag(bool terminated)=0
Sets the session termination flag.
virtual void sessionCreationTime(Timestamp timestamp)=0
Sets the session creation time.
virtual SequenceNumber inSeqNum()=0
Returns the last inbound sequence number.
virtual void flush()=0
Flushes all internal buffers.
virtual SequenceNumber outSeqNum()=0
Returns the last outgoing sequence number.
virtual void storeInbound(const Message &message, SequenceNumber sequenceNumber, const RawMessagePointer &pointer, bool logMessage)=0
Stores the given inbound message.
virtual void clear()=0
Clears the storage.
virtual void storeOutbound(const Message &message, const RawMessagePointer &pointer, bool logMessage)=0
Stores the given outgoing message.
virtual ~ISessionStorage() ONIXS_FIXENGINE_DEFAULT
The destructor.
virtual void getOutbound(SequenceNumber beginSequenceNumber, SequenceNumber endSequenceNumber, ISessionStorageListener *listener)=0
Gets the messages that have been sent earlier.
virtual void warmup(size_t)
Warm ups the storage.
Encapsulates operations over a FIX Message.
The timestamps related functionality.
unsigned int SequenceNumber
Alias for the sequence number.
The pointer to the native (tag=value) FIX Message.
RawMessagePointer(const char *buffer, size_t length)