|
| constexpr std::int32_t | org::limitless::seqeron::protocol::queueStreamId (const std::int32_t groupId) |
| | Names the stream of a group's queue.
|
| |
| constexpr std::int32_t | org::limitless::seqeron::protocol::ingressBlockLength (const std::uint16_t systemEventType) |
| | Looks up the compiled block length of a submittable system event: ยง9.2 conditions 8 and 9 in one lookup.
|
| |
| void | org::limitless::seqeron::protocol::readSystemHeader (FrameView &view, sbe::frame::SequencedSystemHeader &header) |
| | Copies the identity every system message carries; the two composites are the same 44 bytes.
|
| |
| FrameView | org::limitless::seqeron::protocol::unwrapFrame (const char *const frame, const std::uint64_t length) |
| | Reads one fragment into a FrameView, stripping the envelope.
|
| |
| template<typename Decoder > |
| Decoder | org::limitless::seqeron::protocol::decodeSequenced (const char *payload, const std::uint64_t payloadLength, const std::uint16_t blockLength, const std::uint16_t version) |
| | Wraps an application payload held as loose bytes in its decoder, past its own messageHeader.
|
| |
| template<typename Decoder > |
| Decoder | org::limitless::seqeron::protocol::decodeSystem (const char *message, const std::uint64_t messageLength) |
| | Wraps a system frame's message in its decoder.
|
| |
| template<typename Decoder > |
| Decoder | org::limitless::seqeron::protocol::decodeSystem (const SequencedEvent &event) |
| | Wraps a system event's message in its decoder; see decodeSystem(const char*, std::uint64_t).
|
| |
| template<typename Decoder > |
| Decoder | org::limitless::seqeron::protocol::decodeSequenced (const SequencedEvent &event) |
| | Wraps an application event's payload in its decoder.
|
| |
| std::int64_t | org::limitless::seqeron::protocol::frameStartPosition (const aeron::Header &header) |
| | Computes the stream position of a frame's first byte; what SequencedEvent::position carries.
|
| |
| template<typename Decoder > |
| Decoder | org::limitless::seqeron::protocol::decodeSystem (const LifecycleEvent &event) |
| | Wraps a lifecycle event's message in its decoder: ConnectionOpened or ConnectionClosed.
|
| |
| SequencedEvent | org::limitless::seqeron::protocol::sequencedEventOf (const FrameView &view, const std::int64_t receiveTimeNs, const std::int64_t position) |
| | Fills a SequencedEvent from an unwrapped frame, plus the two stamps that belong to the delivery rather than to the frame.
|
| |
| LifecycleEvent | org::limitless::seqeron::protocol::lifecycleEventOf (const FrameView &view, const std::int64_t receiveTimeNs) |
| | Fills a LifecycleEvent from an unwrapped ConnectionOpened/ConnectionClosed.
|
| |
| std::int64_t | org::limitless::seqeron::protocol::nowNs () |
| |