Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::IncomingDatagram Struct Reference

Message structure for incoming datagram handlers. More...

#include <Datagram.hxx>

Public Attributes

NodeHandle src
 Originator of the incoming datagram.
 
Nodedst
 Virtual node that the datagram was addressed to.
 
DatagramPayload payload
 Owned by the current IncomingDatagram object.
 

Detailed Description

Message structure for incoming datagram handlers.

Definition at line 54 of file Datagram.hxx.

Member Data Documentation

◆ dst

Node* openlcb::IncomingDatagram::dst

Virtual node that the datagram was addressed to.

Definition at line 59 of file Datagram.hxx.

◆ payload

DatagramPayload openlcb::IncomingDatagram::payload

Owned by the current IncomingDatagram object.

Includes the datagram ID as the first byte.

Definition at line 62 of file Datagram.hxx.

◆ src

NodeHandle openlcb::IncomingDatagram::src

Originator of the incoming datagram.

Definition at line 57 of file Datagram.hxx.


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