hpimdm/tree/KernelEntry.py
def check_interest_state(self, index, interest_state):
        """
        A neighbor changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        """
        if index not in self.interface_state or self.is_tree_inactive():
            return

        current_interest_state = self._interest_interface_state.get(index, None)
        self._interest_interface_state[index] = interest_state

        if current_interest_state != interest_state:
            self.interface_state[index].change_interest_state(interest_state)

        A neighbor changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        
A neighbor changed Interest state due to the reception of any control packet
(IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
A neighbor changed Interest state due to the reception of any control packet ( IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync )
def check_interest_state(self, index, interest_state):
        if index not in self.interface_state or self.is_tree_inactive():
            return
        current_interest_state = self._interest_interface_state.get(index, None)
        self._interest_interface_state[index] = interest_state
        if current_interest_state != interest_state:
            self.interface_state[index].change_interest_state(interest_state)
def check_interest_state ( self , index , interest_state ) : if index not in self . interface_state or self . is_tree_inactive ( ) : return current_interest_state = self . _interest_interface_state . get ( index , None ) self . _interest_interface_state [ index ] = interest_state if current_interest_state != interest_state : self . interface_state [ index ] . change_interest_state ( interest_state )
A neighbor changed Interest state due to the reception of any control packet
(IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
A neighbor changed Interest state due to the reception of any control packet ( IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync )
"""
        A neighbor changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        """
self
index
interest_state