Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::agent::InboundQueue Class Reference

Completed inbound frames awaiting schema dispatch. More...

#include <cpp/symbian/agent/frame.h>

Public Member Functions

absl::Status Push (Frame frame)
 Admit a completed frame or return ResourceExhausted.
 
std::optional< Frame > Pop ()
 Remove the oldest frame, if any.
 
std::size_t queued_bytes () const
 
std::size_t size () const
 
void Clear ()
 Release all queued payloads after disconnect.
 

Detailed Description

Completed inbound frames awaiting schema dispatch.

Counts encoded payload bytes. A session owns one decoder and one queue and releases both on disconnect. This class does not authenticate or interpret the queued MessagePack.

Member Function Documentation

◆ Clear()

void symbian::agent::InboundQueue::Clear ( )

Release all queued payloads after disconnect.

◆ Pop()

std::optional< Frame > symbian::agent::InboundQueue::Pop ( )

Remove the oldest frame, if any.

◆ Push()

absl::Status symbian::agent::InboundQueue::Push ( Frame  frame)

Admit a completed frame or return ResourceExhausted.

◆ queued_bytes()

std::size_t symbian::agent::InboundQueue::queued_bytes ( ) const
inline

◆ size()

std::size_t symbian::agent::InboundQueue::size ( ) const
inline

The documentation for this class was generated from the following files: