20#if !defined(__ONIXS_IDECODELISTENER_H__)
21#define __ONIXS_IDECODELISTENER_H__
49 size_t messageTypeLength) = 0;
64 virtual
void onValue(
int tag,
int value) = 0;
70 virtual
void onValue(
int tag,
unsigned value) = 0;
76 virtual
void onValue(
int tag,
long long value) = 0;
82 virtual
void onValue(
int tag,
unsigned long long value) = 0;
89 virtual
void onValue(
int tag,
long long mantissa,
int exponent) = 0;
96 virtual
void onValue(
int tag, const
char * value,
size_t valueLength) = 0;
#define ONIXS_FIXENGINE_API
#define ONIXS_FIXENGINE_DEFAULT
The decode session's listener.
virtual void onBeginMessage(unsigned templateId, const char *messageType, size_t messageTypeLength)=0
virtual void onBeginSequenceEntry(size_t index)=0
virtual void onEndSequenceEntry()=0
Called after the entry was decoded.
virtual void onEndMessage()=0
Called when the decoder finishes the current message decoding.
virtual ~IDecodeListener() ONIXS_FIXENGINE_DEFAULT
virtual void onBeginSequence(int tag, size_t itemCount, int lengthFieldTag)=0
virtual void onValue(int tag, int value)=0
virtual void onEndSequence()=0
Called immediately after the last sequence entry decoded.