hpimdm/ReliableMsgTransmission.py
def send_no_interest(self, source, group, dst):
        """
        Send reliably a new NoInterest message
        """
        with self._lock:
            self.cancel_message_unicast(dst)

            (bt, sn) = self._interface.get_sequence_number()

            packet = self._interface.create_no_interest_msg(my_boot_time=bt, sn=sn, source=source, group=group)
            self._msg_unicast[dst] = packet

            self.set_retransmission_timer()
            self._interface.send(packet, dst)

            # msg multicast doesnt require to be reliably protected to dst (because unicast msgs can only be transmitted
            # in concurrency with IamNoLongerUpstream - interest msg implies that neighbor is not Upstream... so dont
            # wait ack regarding multicast msg)
            if self._msg_multicast is not None:
                self._neighbors_that_acked.add(dst)

        Send reliably a new NoInterest message
        
Send reliably a new NoInterest message
Send reliably a new NoInterest message
def send_no_interest(self, source, group, dst):
        with self._lock:
            self.cancel_message_unicast(dst)
            (bt, sn) = self._interface.get_sequence_number()
            packet = self._interface.create_no_interest_msg(my_boot_time=bt, sn=sn, source=source, group=group)
            self._msg_unicast[dst] = packet
            self.set_retransmission_timer()
            self._interface.send(packet, dst)
            if self._msg_multicast is not None:
                self._neighbors_that_acked.add(dst)
def send_no_interest ( self , source , group , dst ) : with self . _lock : self . cancel_message_unicast ( dst ) ( bt , sn ) = self . _interface . get_sequence_number ( ) packet = self . _interface . create_no_interest_msg ( my_boot_time = bt , sn = sn , source = source , group = group ) self . _msg_unicast [ dst ] = packet self . set_retransmission_timer ( ) self . _interface . send ( packet , dst ) if self . _msg_multicast is not None : self . _neighbors_that_acked . add ( dst )
Send reliably a new NoInterest message
Send reliably a new NoInterest message
"""
        Send reliably a new NoInterest message
        """ # msg multicast doesnt require to be reliably protected to dst (because unicast msgs can only be transmitted # in concurrency with IamNoLongerUpstream - interest msg implies that neighbor is not Upstream... so dont # wait ack regarding multicast msg)
self
source
group
dst