print('Messages passed by '+thisPeer.name+': '+str(thisPeer.getMessagesPassed())) continue match = re.match(r"mpassed-all", do) if match: print('Messages passed by all peers in network: '+str(thisPeer.getAllMessagesPassed())) continue match = re.match(r"^mreset$", do) if match: thisPeer.resetMessagesCounter() continue match = re.match(r"^mreset-all$", do) if match: thisPeer.resetAllMessagesCounter() continue match = re.match(r"^fullreset$", do) if match: thisPeer.fullReset() continue match = re.match(r"^fullreset-all$", do) if match: thisPeer.fullResetAll() continue match = re.match(r"kfind-test\s*(\S*)\s*(\S*)", do) if match: if len(match.group(1)) > 0: