

def recv_handler(self, tp_link, payload):
    ' Called by transport when a full payload has been received\n        '
    _log.analyze(self.rt_id, 'RECV', payload)
    try:
        self.network.link_check(payload['from_rt_uuid'])
    except:
        raise Exception('ERROR_UNKNOWN_RUNTIME')
    if (not (('cmd' in payload) and (payload['cmd'] in self.callback_valid_names()))):
        raise Exception('ERROR_UNKOWN_COMMAND')
    self._callback_execute(payload['cmd'], self)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_proto.py CalvinProto.recv_handler/VarMisuse@100/168 `payload`->`self`