summaryrefslogtreecommitdiff
path: root/gr-zeromq/examples/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-zeromq/examples/server.py')
-rwxr-xr-xgr-zeromq/examples/server.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/gr-zeromq/examples/server.py b/gr-zeromq/examples/server.py
index 49640f8fd6..ee7d9fcf69 100755
--- a/gr-zeromq/examples/server.py
+++ b/gr-zeromq/examples/server.py
@@ -1,25 +1,25 @@
#!/usr/bin/env python
-#
+#
# Copyright 2013 Institute for Theoretical Information Technology,
# RWTH Aachen University
-#
+#
# Authors: Johannes Schmitz <schmitz@ti.rwth-aachen.de>
-#
+#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this software; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
###############################################################################
# Imports
@@ -42,7 +42,7 @@ import time
###############################################################################
class top_block(gr.top_block):
def __init__(self, options):
- gr.top_block.__init__(self)
+ gr.top_block.__init__(self)
self.options = options
@@ -58,7 +58,6 @@ class top_block(gr.top_block):
self.gr_sig_source = analog.sig_source_f(samp_rate, analog.GR_SIN_WAVE , 1000, 1, 0)
self.throttle = blocks.throttle(gr.sizeof_float, samp_rate)
self.mult = blocks.multiply_const_ff(1)
- #self.zmq_sink = zeromq.rep_sink_nopoll(gr.sizeof_float, sink_adr)
self.zmq_sink = zeromq.rep_sink(gr.sizeof_float, 1, sink_adr)
#self.zmq_sink = zeromq.push_sink(gr.sizeof_float, 1, sink_adr)
#self.zmq_probe = zeromq.push_sink(gr.sizeof_float, probe_adr)