aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/Zmq.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-17 09:48:56 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-17 09:50:50 +0100
commit0b7d58968b37dc9d36a90d3fb439891a57b81a18 (patch)
tree22c3c5106b49d5364f7f926a440fee894889e545 /src/input/Zmq.cpp
parentc2e1b31a7c5a948b6155bc9fcaee4defbf4504bd (diff)
downloaddabmux-0b7d58968b37dc9d36a90d3fb439891a57b81a18.tar.gz
dabmux-0b7d58968b37dc9d36a90d3fb439891a57b81a18.tar.bz2
dabmux-0b7d58968b37dc9d36a90d3fb439891a57b81a18.zip
Update ClockTAI and RemoteControl
Diffstat (limited to 'src/input/Zmq.cpp')
-rw-r--r--src/input/Zmq.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/input/Zmq.cpp b/src/input/Zmq.cpp
index be3fd1f..d5e722e 100644
--- a/src/input/Zmq.cpp
+++ b/src/input/Zmq.cpp
@@ -614,7 +614,19 @@ const string ZmqBase::get_parameter(const string& parameter) const
throw ParameterError(ss.str());
}
return ss.str();
+}
+const json::map_t ZmqBase::get_all_values() const
+{
+ json::map_t map;
+ map["buffer"].v = m_config.buffer_size;
+ map["prebuffering"].v = m_config.prebuffering;
+ map["enable"].v = m_enable_input;
+ map["encryption"].v = m_config.enable_encryption;
+ map["secretkey"].v = m_config.curve_secret_keyfile;
+ map["publickey"].v = m_config.curve_public_keyfile;
+ map["encoderkey"].v = m_config.curve_encoder_keyfile;
+ return map;
}
};