diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-08 12:08:44 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-08 12:08:44 +0200 |
commit | c8c9d5abf8238c3531ecae8fb272fdf5bbffd336 (patch) | |
tree | 30049a585baf782b3a0d74a319768efbdf66542e /src/EtiReader.h | |
parent | 3a7202306c6aca5be2dad604f62063d605fd0982 (diff) | |
download | dabmod-c8c9d5abf8238c3531ecae8fb272fdf5bbffd336.tar.gz dabmod-c8c9d5abf8238c3531ecae8fb272fdf5bbffd336.tar.bz2 dabmod-c8c9d5abf8238c3531ecae8fb272fdf5bbffd336.zip |
Unify Socket library with other mmbTools
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r-- | src/EtiReader.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/EtiReader.h b/src/EtiReader.h index 38f7903..8548654 100644 --- a/src/EtiReader.h +++ b/src/EtiReader.h @@ -2,7 +2,7 @@ Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2018 + Copyright (C) 2019 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -38,9 +38,6 @@ #include "SubchannelSource.h" #include "TimestampDecoder.h" #include "lib/edi/ETIDecoder.hpp" -#ifdef HAVE_EDI -# include "lib/UdpSocket.h" -#endif #include <vector> #include <memory> @@ -211,9 +208,9 @@ class EdiTransport { enum class Proto { UDP, TCP }; Proto m_proto; - UdpReceiver m_udp_rx; + Socket::UDPReceiver m_udp_rx; std::vector<uint8_t> m_tcpbuffer; - TCPClient m_tcpclient; + Socket::TCPClient m_tcpclient; EdiDecoder::ETIDecoder& m_decoder; }; #endif |