|
seqeron 0.18.0
|
One application payload delivered in order, with the frame layer off it: the envelope is stripped, and body() strips the payload's own messageHeader too, which is where an SBE decoder wraps. More...
#include <org/limitless/seqeron/app/Payload.hpp>
Public Member Functions | |
| std::int64_t | clusterSeqNo () const noexcept |
| std::int64_t | groupSeqNo () const noexcept |
| std::int32_t | sourceId () const noexcept |
| std::int32_t | connectionId () const noexcept |
| std::uint16_t | groupMask () const noexcept |
| ReplyAddress | replyAddress () const noexcept |
| std::int64_t | sourceSessionId () const noexcept |
| std::int64_t | clusterTimestampNs () const noexcept |
| std::int64_t | receiveTimeNs () const noexcept |
| std::int64_t | position () const noexcept |
| std::uint16_t | payloadId () const noexcept |
| std::uint16_t | templateId () const noexcept |
| std::uint16_t | blockLength () const noexcept |
| std::uint16_t | version () const noexcept |
| const char * | payload () const noexcept |
| std::uint64_t | payloadLength () const noexcept |
| const char * | body () const noexcept |
| std::uint64_t | bodyLength () const noexcept |
| template<typename Decoder > | |
| Decoder | decode () const |
Friends | |
| template<typename Dispatch > | |
| class | detail::Session |
| Payload | detail::makePayload (const protocol::SequencedEvent &event) |
One application payload delivered in order, with the frame layer off it: the envelope is stripped, and body() strips the payload's own messageHeader too, which is where an SBE decoder wraps.
A payload that carries no header at all (§13.2, what offerFrame exists for) is addressed by payload() instead, and its templateId, blockLength and version mean nothing.
Nothing of seqeron's own vocabulary reaches here — the system family is the façade's business, and a frame of it never arrives as a payload.
Dispatch on (payloadId, templateId), never templateId alone: template ids are unique per schema, so two applications' templates can collide.
A view: valid only during the handler call; copy anything that must outlive it. The Java twin is app/Payload.java; keep the two in step.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |