def send_ack(bif=None, seq=None, dest=None): """ send acknowledgement message """ ack_msg = AckMsg() ack_msg.set_seq(seq) ack_msg.set_node_id(dest) bif.sendMsg(ack_msg, dest)
def send_ack(self, seq=None, dest=None): """ send acknowledgement message """ ack_msg = AckMsg() ack_msg.set_seq(seq) ack_msg.set_node_id(dest) self.bif.sendMsg(ack_msg, dest) LOGGER.debug("Sending Ack %s to %s" % (seq, dest))