def get_stats(self):
        """
        Gets statistics for this NIO.

        :returns: NIO statistics (string with packets in, packets out, bytes in, bytes out)
        """

        stats = yield from self._hypervisor.send("nio get_stats {}".format(self._name))
        return stats[0]
def get_stats ( self ) : stats = yield from self . _hypervisor . send ( "nio get_stats {}" . format ( self . _name ) ) return stats [ 0 ]
Gets statistics for this NIO.

        :returns: NIO statistics (string with packets in, packets out, bytes in, bytes out)