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
41
namespace
openlcb
42
{
43
46
class
TcpDatagramService
:
public
DatagramService
47
{
48
public
:
54
TcpDatagramService
(
IfTcp
*iface,
int
num_registry_entries,
int
num_clients);
55
56
~TcpDatagramService
();
57
58
IfTcp
*if_tcp()
59
{
60
return
static_cast<
IfTcp
*
>
(iface());
61
}
62
};
63
64
}
// namespace openlcb
65
66
#endif
// _OPENLCB_DATAGRAMTCP_HXX_
Datagram.hxx
IfTcp.hxx
openlcb::DatagramService
Transport-agnostic dispatcher of datagrams.
Definition
Datagram.hxx:161
openlcb::IfTcp
Network interface class for a character stream link that speaks the (point-to-point) TcpTransfer prot...
Definition
IfTcp.hxx:67
openlcb::TcpDatagramService
Implementation of the DatagramService on TCP transfer.
Definition
DatagramTcp.hxx:47
openlcb
Definition
RailcomPortDebug.hxx:202
src
openlcb
DatagramTcp.hxx
Generated on Sun Feb 2 2025 21:18:14 for Open Model Railroad Network (OpenMRN) by
1.9.8