#include <OnixS/FIXEngine/FIX/SbeEventBasedDecoder.h>
Definition at line 40 of file SbeEventBasedDecoder.h.
Creates the SBE to FIX Decoder.
- Parameters
-
xmlTemplates | XML-based SBE templates. |
customCoders | The custom coders library. |
bool decodeSingleMessage |
( |
int |
version, |
|
|
int |
templateId, |
|
|
size_t |
rootBlockLength, |
|
|
const unsigned char * |
buffer, |
|
|
size_t |
offset, |
|
|
size_t |
count, |
|
|
IDecodeListener * |
listener, |
|
|
size_t * |
numberOfDecodedBytes |
|
) |
| const |
Tries to decode the given FAST stream buffer into the corresponding FIX Message.
- Parameters
-
[in] | templateId | The identifier of the SBE template, used to decode the input data. |
[in] | version | The version of the SBE schema, used to decode the input data. |
[in] | rootBlockLength | The length of the root block. This value should be extracted from the message preamble, or from other source. |
[in] | buffer | The FAST stream chunk to be decoded. |
[in] | offset | The index in the buffer at which decoding begins. |
[in] | count | The number of bytes to analyze during the decoding. |
[in] | listener | The listener which receives decoding events. |
[out] | numberOfDecodedBytes | The number of bytes that contained the encoded FIX Message. |
- Warning
- The message should point to an existing object. This object is not owned by the Decoder and should be managed by the user.
- Exceptions
-
An | exception if the decoding error is detected. |
- Returns
- 'true' if the given bytes could be decoded into a FIX message, otherwise - 'false'.
std::string schemaHeaderType |
( |
| ) |
const |
The name of the encoding type of the message header, which is the same for all messages in a schema.
unsigned schemaId |
( |
| ) |
const |
std::string schemaSemanticVersion |
( |
| ) |
const |
The semantic version of the SBE schema.
unsigned schemaVersion |
( |
| ) |
const |
The maximum known version of the SBE schema.
The documentation for this class was generated from the following file: