Skip to content

Class jac::Consumer

ClassList > jac > Consumer

Interface for a packet consumer.

  • #include <linkTypes.h>

Inherited by the following classes: jac::RouterInputPacketCommunicator, jac::RouterInputStreamCommunicator

Public Functions

Type Name
Consumer () = default
Consumer (const Consumer &) = delete
Consumer (Consumer &&) = delete
Consumer & operator= (const Consumer &) = delete
Consumer & operator= (Consumer &&) = delete
virtual void processPacket (int linkId, std::span< const uint8_t > data) = 0
virtual ~Consumer () = default

Public Functions Documentation

function Consumer [1/3]

jac::Consumer::Consumer () = default

function Consumer [2/3]

jac::Consumer::Consumer (
    const Consumer &
) = delete

function Consumer [3/3]

jac::Consumer::Consumer (
    Consumer &&
) = delete

function operator=

Consumer & jac::Consumer::operator= (
    const Consumer &
) = delete

function operator=

Consumer & jac::Consumer::operator= (
    Consumer &&
) = delete

function processPacket

virtual void jac::Consumer::processPacket (
    int linkId,
    std::span< const uint8_t > data
) = 0

function ~Consumer

virtual jac::Consumer::~Consumer () = default

The documentation for this class was generated from the following file src/jac/link/linkTypes.h