#include <OnixS/FIXEngine/FIX/ISbeDecodeListener.h>
Public Member Functions | |
virtual | ~IDecodeListener () ONIXS_FIXENGINE_DEFAULT |
Entire message events | |
These events belongs to to entire message. Each each from the group occurs single time per message. | |
virtual void | onBeginMessage (unsigned messageTemplateId)=0 |
virtual void | onEndMessage ()=0 |
Data field events | |
These events denotes that particular fields were decoded. Events occurs once per field. | |
virtual void | onValue (int tag, char value)=0 |
virtual void | onValue (int tag, short value)=0 |
virtual void | onValue (int tag, unsigned short value)=0 |
virtual void | onValue (int tag, int value)=0 |
virtual void | onValue (int tag, unsigned value)=0 |
virtual void | onValue (int tag, long long value)=0 |
virtual void | onValue (int tag, unsigned long long value)=0 |
virtual void | onValue (int tag, long long mantissa, int exponent)=0 |
virtual void | onValue (int tag, const char *value, size_t valueLength)=0 |
virtual void | onValue (int tag, float value)=0 |
virtual void | onValue (int tag, double value)=0 |
Sequence events | |
These callbacks embraces sequence decoding. Each callback called once per sequence unless the sequence is empty. | |
virtual void | onBeginSequence (int tag, size_t itemCount)=0 |
virtual void | onEndSequence ()=0 |
Sequence entry events | |
These callbacks embraces sequence entry decoding. Each callback called once per sequence entry. | |
virtual void | onBeginSequenceEntry (size_t index)=0 |
virtual void | onEndSequenceEntry ()=0 |
This interface declares set of methods called by EventBasedDecoder during decoding process.
Definition at line 33 of file ISbeDecodeListener.h.
|
virtual |
|
pure virtual |
Called when a new SBE-encoded message started to decode.
messageTemplateId | Template identifier of the message. |
|
pure virtual |
Called just before first entry of the sequence decoding.
tag | Tag of the sequence |
itemCount | Number of entries in the sequence. |
|
pure virtual |
Called just before sequence entry decoding.
index | Index of the entry. |
|
pure virtual |
Called when decoder finishes current message decoding.
|
pure virtual |
Called immediately after the last sequence entry decoded.
|
pure virtual |
Called after the entry was decoded.
|
pure virtual |
Called when single-char field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when signed 16-bit integer or signed 8-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when unsigned 16-bit integer or unsigned 8-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when signed 32-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when unsigned 32-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when signed 64-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when unsigned 64-bit integer field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when decimal field decoded.
tag | FIX tag of the field. |
mantissa | Mantissa of the decoded decimal value. |
exponent | Exponent of the decoded decimal value (in range of -64..63). |
|
pure virtual |
Called when a string (ASCII or Unicode) or byteVector decoded.
tag | FIX tag of the field. |
value | Pointer to start of decoded data. |
valueLength | Length of decoded data (does not include terminating zero for <string> fields). |
|
pure virtual |
Called when float field decoded.
tag | FIX tag of the field. |
value | Decoded value. |
|
pure virtual |
Called when long float (double) field decoded.
tag | FIX tag of the field. |
value | Decoded value. |