Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
DatagramTcp.hxx
Go to the documentation of this file.
1
35#ifndef _OPENLCB_DATAGRAMTCP_HXX_
36#define _OPENLCB_DATAGRAMTCP_HXX_
37
38#include "openlcb/Datagram.hxx"
39#include "openlcb/IfTcp.hxx"
40
41namespace openlcb
42{
43
47{
48public:
54 TcpDatagramService(IfTcp *iface, int num_registry_entries, int num_clients);
55
57
58 IfTcp *if_tcp()
59 {
60 return static_cast<IfTcp *>(iface());
61 }
62};
63
64} // namespace openlcb
65
66#endif // _OPENLCB_DATAGRAMTCP_HXX_
Transport-agnostic dispatcher of datagrams.
Definition Datagram.hxx:161
Network interface class for a character stream link that speaks the (point-to-point) TcpTransfer prot...
Definition IfTcp.hxx:67
Implementation of the DatagramService on TCP transfer.