def METHOD_NAME(self, cmd, mask):
    msg = tcmd()
    msg['cmd'] = TASKSTATS_CMD_GET
    msg['version'] = 1
    msg['attrs'].append([cmd, mask])
    # there is no response to this request
    self.put(msg, self.prid, msg_flags=NLM_F_REQUEST)