aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-01 14:03:03 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-01 14:03:03 +0100
commit0aec6da11b4add62ac473e3f4ea813bb4a8a556d (patch)
tree720c3903f86896895d303240181dd85799ae78c1 /src/ConfigParser.cpp
parentbf6e05a427e050ec54b9da91da8ac04f52fa006c (diff)
downloaddabmod-0aec6da11b4add62ac473e3f4ea813bb4a8a556d.tar.gz
dabmod-0aec6da11b4add62ac473e3f4ea813bb4a8a556d.tar.bz2
dabmod-0aec6da11b4add62ac473e3f4ea813bb4a8a556d.zip
Remove ZeroMQ input
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 9190c60..3e223c3 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -3,7 +3,7 @@
Her Majesty the Queen in Right of Canada (Communications Research
Center Canada)
- Copyright (C) 2018
+ Copyright (C) 2023
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -113,8 +113,6 @@ static void parse_configfile(
}
mod_settings.inputTransport = pt.Get("input.transport", "file");
- mod_settings.inputMaxFramesQueued = pt.GetInteger("input.max_frames_queued",
- ZMQ_INPUT_MAX_FRAME_QUEUE);
mod_settings.edi_max_delay_ms = pt.GetReal("input.edi_max_delay", 0.0f);
@@ -574,8 +572,7 @@ void parse_args(int argc, char **argv, mod_settings_t& mod_settings)
if (mod_settings.inputName.substr(0, 4) == "zmq+" &&
mod_settings.inputName.find("://") != std::string::npos) {
- // if the name starts with zmq+XYZ://somewhere:port
- mod_settings.inputTransport = "zeromq";
+ throw std::runtime_error("Support for ZeroMQ input transport has been removed.");
}
else if (mod_settings.inputName.substr(0, 6) == "tcp://") {
mod_settings.inputTransport = "tcp";