MADARA
3.4.1
BroadcastTransport.h
Go to the documentation of this file.
1
#ifndef _MADARA_BROADCAST_TRANSPORT_H_
2
#define _MADARA_BROADCAST_TRANSPORT_H_
3
12
#include <string>
13
14
#include "madara/MadaraExport.h"
15
#include "
madara/utility/ScopedArray.h
"
16
#include "
madara/transport/udp/UdpTransport.h
"
17
#include "
madara/knowledge/ThreadSafeContext.h
"
18
#include "
madara/transport/BandwidthMonitor.h
"
19
#include "
madara/utility/StdInt.h
"
20
#include "
madara/expression/ExpressionTree.h
"
21
#include "
madara/threads/Threader.h
"
22
23
namespace
madara
24
{
25
namespace
transport
26
{
39
class
MADARA_EXPORT
BroadcastTransport
:
public
UdpTransport
40
{
41
public
:
42
using
UdpTransport::UdpTransport
;
43
44
protected
:
45
bool
pre_send_buffer
(
size_t
addr_index)
override
46
{
47
return
addr_index == 0;
48
}
49
};
50
}
51
}
52
53
#endif
// _MADARA_BROADCAST_TRANSPORT_H_
BandwidthMonitor.h
ExpressionTree.h
ScopedArray.h
StdInt.h
ThreadSafeContext.h
Threader.h
UdpTransport.h
madara::transport::BroadcastTransport
Broadcast-based transport for knowledge.
Definition:
BroadcastTransport.h:40
madara::transport::BroadcastTransport::pre_send_buffer
bool pre_send_buffer(size_t addr_index) override
Definition:
BroadcastTransport.h:45
madara::transport::UdpTransport
UDP-based transport for knowledge.
Definition:
UdpTransport.h:39
madara::transport::UdpTransport::UdpTransport
UdpTransport(const std::string &id, madara::knowledge::ThreadSafeContext &context, TransportSettings &config, bool launch_transport)
Definition:
UdpTransport.cpp:15
madara
Copyright(c) 2020 Galois.
Definition:
AggregateFilter.h:31
include
madara
transport
broadcast
BroadcastTransport.h
Generated on Sat Jan 20 2024 00:40:27 for MADARA by
1.9.1