aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:14:57 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:14:57 +0100
commitd930ee6b9a52f0eb9939b3fe55afd2361944edb2 (patch)
treea26c6c31bebe6681da54d9acd782c3fe96969da7 /src/DabMux.cpp
parentc5306f81a9d3b87df7e16c852f2505ac913193ca (diff)
downloaddabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.tar.gz
dabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.tar.bz2
dabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.zip
add support for ZeroMQ output
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 0e97340..ca0fb1a 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -494,6 +494,16 @@ int main(int argc, char *argv[])
} else if ((*output)->outputProto == "simul") {
(*output)->output = new DabOutputSimul();
#endif // defined(HAVE_OUTPUT_SIMUL)
+#if defined(HAVE_OUTPUT_ZEROMQ)
+ } else if ((*output)->outputProto == "zmq+tcp") {
+ (*output)->output = new DabOutputZMQ("tcp");
+ } else if ((*output)->outputProto == "zmq+ipc") {
+ (*output)->output = new DabOutputZMQ("ipc");
+ } else if ((*output)->outputProto == "zmq+pgm") {
+ (*output)->output = new DabOutputZMQ("pgm");
+ } else if ((*output)->outputProto == "zmq+epgm") {
+ (*output)->output = new DabOutputZMQ("epgm");
+#endif // defined(HAVE_OUTPUT_ZEROMQ)
} else {
etiLog.printHeader(TcpLog::ERR, "Output protcol unknown: %s\n",
(*output)->outputProto.c_str());