parameters: (self, done_cb=None)
docstring: Sends DhtNetwork sub process statistics request about nodes messages
          sent.
  
          @param done_cb: A function taking as parameter the returned list of
                          stats.
          @type  done_cb: function
  
          @return: A list [num_nodes, ping, find, get, put, listen].
          @rtype : list
docstring_summary: Sends DhtNetwork sub process statistics request about nodes messages
          sent.
docstring_tokens: Sends DhtNetwork sub process statistics request about nodes messages sent .
function: def sendGetMessageStats(self, done_cb=None):
          """
          Sends DhtNetwork sub process statistics request about nodes messages
          sent.
  
          @param done_cb: A function taking as parameter the returned list of
                          stats.
          @type  done_cb: function
  
          @return: A list [num_nodes, ping, find, get, put, listen].
          @rtype : list
          """
          self._tid += 1
          def dcb(packet):
              nonlocal done_cb
              if not done_cb:
                  return
              try:
                  stats = packet[b'stats']
                  done_cb([] if not isinstance(stats, list) else done_cb(stats))
              except KeyError:
                  done_cb([])
          self._sendRequest(msgpack.packb({
              DhtNetworkSubProcess.REQUEST : True,
              'tid' : self._tid,
              'req' : DhtNetworkSubProcess.MESSAGE_STATS
          }), self._tid, dcb)
function_tokens: def sendGetMessageStats ( self , done_cb = None ) : self . _tid += 1 def dcb ( packet ) : nonlocal done_cb if not done_cb : return try : stats = packet [ b'stats' ] done_cb ( [ ] if not isinstance ( stats , list ) else done_cb ( stats ) ) except KeyError : done_cb ( [ ] ) self . _sendRequest ( msgpack . packb ( { DhtNetworkSubProcess . REQUEST : True , 'tid' : self . _tid , 'req' : DhtNetworkSubProcess . MESSAGE_STATS } ) , self . _tid , dcb )