summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
diff options
context:
space:
mode:
authorNate Goergen <nate.goergen.gitlab1@mile10.com>2015-03-03 22:01:33 -0600
committerTom Rondeau <tom@trondeau.com>2015-04-02 15:38:57 -0700
commit8d72b2e7d15444c91b5d3968756eab8d943dcb3b (patch)
tree292e4886ab8c900cb7d587aa806f4c2d24f63074 /gnuradio-runtime/python/gnuradio/ctrlport/monitor.py
parentd4a63e49a528140b678f14509d23d954da84110e (diff)
controlport: moving the logger call that publishes Thrift's endpoint to i_impl().
Using to verify that the hostname and OS selected port number are eventually determined correctly. However, as i_imp() may be called many times throughout the lifetime of a flowgraph, this can't be the final place where the endpoint is generated. It appears that the initial calls within the first few milliseconds of TServerSocket creation may return an incorrect port number when getPort() is queried (i.e. 0 if a randomly open / selected port is requested vs. the selected port number). Endpoint string generation and the call to the logger should probably be moved to a function that executes only once after the results from getPort() have had time to settle.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/monitor.py')
0 files changed, 0 insertions, 0 deletions