

def addSpecificResponder(self, lvl, resp):
    if ((lvl < 0) or (lvl >= self.nolevels)):
        raise Exception
    if ((not resp.isReqIdSpecific()) and (not resp.isMsgIdSpecific())):
        raise Exception
    self.resp_idx[lvl].append(resp)

dataset/ETHPy150Open drbob/pyrs/pyrs/responder.py RsResponderGroup.addSpecificResponder/original