def doCommand(self, ts, ms_id, args):
        cmd = args[0]

        handler_m = getattr(self, 'command_%s' % (cmd,), None)

        if handler_m is None:
            self._cc_queue.callLater(0, self.unknownCommandType, cmd, ts,
                                     ms_id, args[1:])
        else:
            self._cc_queue.callLater(0, self._handler_wrapper, handler_m,
                                     ts, ms_id, args[1:])
dataset/ETHPy150Open arkadini/twimp/twimp/dispatch.py/CommandDispatchProtocol.doCommand/original