|
Open Model Railroad Network (OpenMRN)
|
Implementation of the DatagramService with the CANbus-specific OpenLCB datagram protocol. More...
#include <DatagramCan.hxx>
Public Member Functions | |
| CanDatagramService (IfCan *iface, int num_registry_entries, int num_clients) | |
| IfCan * | if_can () |
Public Member Functions inherited from openlcb::DatagramService | |
| DatagramService (If *iface, size_t num_registry_entries) | |
| Creates a datagram dispatcher. | |
| Registry * | registry () |
| TypedQAsync< DatagramClient > * | client_allocator () |
| Datagram clients. | |
| If * | iface () |
Public Member Functions inherited from Service | |
| Service (ExecutorBase *e) | |
| Constructor. | |
| ~Service () | |
| Destructor. | |
| ExecutorBase * | executor () |
Additional Inherited Members | |
Public Types inherited from openlcb::DatagramService | |
| typedef TypedNodeHandlerMap< Node, DatagramHandler > | Registry |
Implementation of the DatagramService with the CANbus-specific OpenLCB datagram protocol.
This service is responsible for fragmenting outgoing datagram messages to the CANbus, assembling incoming datagram frames into messages and managing the necessary temporary buffers. This class is also responsible for instantiating the correct DatagramClient objects.
Definition at line 49 of file DatagramCan.hxx.
| openlcb::CanDatagramService::CanDatagramService | ( | IfCan * | iface, |
| int | num_registry_entries, | ||
| int | num_clients | ||
| ) |
Definition at line 344 of file DatagramCan.cxx.
| openlcb::CanDatagramService::~CanDatagramService | ( | ) |
Definition at line 365 of file DatagramCan.cxx.
|
inline |
Definition at line 60 of file DatagramCan.hxx.