8 #include <nap/device.h>
13 #include <utility/threading.h>
14 #include <concurrentqueue.h>
17 #include "udpadapter.h"
18 #include "udppacket.h"
55 std::string mEndpoint =
"10.8.0.3";
56 int mMaxPacketQueueSize = 1000;
57 bool mStopOnMaxQueueSizeExceeded =
true;
58 bool mBroadcast =
false;
71 void onStop() override final;
76 void onProcess() override final;
80 std::unique_ptr<Impl> mImpl;
84 moodycamel::ConcurrentQueue<
UDPPacket> mQueue;