summaryrefslogtreecommitdiff
path: root/gr-zeromq/lib/req_source_impl.h
diff options
context:
space:
mode:
authorBrennan Ashton <bashton@brennanashton.com>2018-11-02 23:50:49 -0700
committerAndrej Rode <mail@andrejro.de>2018-11-28 00:02:35 +0100
commitb76a95c52f812181605248f1f590a199e2e5d0e3 (patch)
tree9493ca923d95928a4a662e2c05f6d1c95b426029 /gr-zeromq/lib/req_source_impl.h
parent0733bc4f788c424264d26c1a1f82d831c91b2c15 (diff)
gr-zeromq: Add last_endpoint function to zmq source and sink blocks
The main reason for this is is allows you to read back the real address string in the case that port 0 is used and the OS has auto-assigned a free port.
Diffstat (limited to 'gr-zeromq/lib/req_source_impl.h')
-rw-r--r--gr-zeromq/lib/req_source_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-zeromq/lib/req_source_impl.h b/gr-zeromq/lib/req_source_impl.h
index 8bdbd33459..ec87832518 100644
--- a/gr-zeromq/lib/req_source_impl.h
+++ b/gr-zeromq/lib/req_source_impl.h
@@ -40,6 +40,7 @@ namespace gr {
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
+ std::string last_endpoint() override {return base_source_impl::last_endpoint();}
private:
bool d_req_pending;
};