summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/controlport
diff options
context:
space:
mode:
authorNate Goergen <nate.goergen.gitlab1@mile10.com>2015-03-08 00:41:25 -0600
committerTom Rondeau <tom@trondeau.com>2015-04-02 15:38:57 -0700
commit3419fb86065e3651dc6036fe8e02a0771d173fd2 (patch)
tree33fdbcd7250b01effc0373c4239343b09598cfaa /gnuradio-runtime/lib/controlport
parent0d018254de818037007ead4c4c431284d58bc515 (diff)
controlport: documentation cleanup
Diffstat (limited to 'gnuradio-runtime/lib/controlport')
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
index b6d113ba2a..40cfe1a48a 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
@@ -50,10 +50,6 @@ rpcserver_booter_thrift::rpcserver_booter_thrift() :
rpcserver_booter_thrift::~rpcserver_booter_thrift()
{;}
-/*!
- * \brief TBD
- */
-
rpcserver_base*
rpcserver_booter_thrift::i()
{
@@ -74,8 +70,8 @@ rpcserver_booter_thrift::endpoints()
GNURadio::ControlPortIf>::endpoints();
}
-// Specalized thrift_application_base attributes and functions
-// for this rpcserver_booter instance
+// Specialized thrift_application_base attributes and functions
+// for this rpcserver_booter instance.
template<class rpcserver_base, class rpcserver_booter_thrift>
const unsigned int thrift_application_base<rpcserver_base, rpcserver_booter_thrift>::d_default_max_init_attempts(100U);
@@ -117,12 +113,11 @@ bool thrift_application_base<rpcserver_base, rpcserver_booter_thrift>::applicati
if (d_thirft_is_running) return true;
bool result(false);
- // Define the endpoint
+ // Define the endpoint.
apache::thrift::transport::TServerTransport *thetransport =
d_thriftserver->getServerTransport().get();
// Determine the specified endpoint port number, or the port number selected by bind() if
- // ControlPort is configured to listen on port 0 (the default)
int used_port = ((apache::thrift::transport::TServerSocket*)thetransport)->getPort();
if (used_port > 0) {