tin  1.5.9
tsm::transport::event_io_adapter< Codec > Struct Template Reference

#include <transport.h>

Collaboration diagram for tsm::transport::event_io_adapter< Codec >:
Collaboration graph

Static Public Member Functions

template<typename Runtime , std::size_t MaxBytes>
static status receive (Runtime &runtime, event_io_message< MaxBytes > const &message)
 

Detailed Description

template<typename Codec>
struct tsm::transport::event_io_adapter< Codec >

Event I/O ingress adapter.

The platform event loop owns readiness and blocking. On Linux that loop can wait with epoll; on BSD/macOS it can wait with kevent; on an RTOS it can wait on task notifications, semaphores, queues, or interrupt flags. Once the application has a complete event record, this adapter performs the common validation/decode/send sequence and terminates at the local typed runtime boundary.

Member Function Documentation

◆ receive()

template<typename Codec >
template<typename Runtime , std::size_t MaxBytes>
static status tsm::transport::event_io_adapter< Codec >::receive ( Runtime runtime,
event_io_message< MaxBytes > const &  message 
)
inlinestatic

The documentation for this struct was generated from the following file: