hpimdm/tree/tree_if_non_root.py
def change_interest_state(self, interest_state):
        """
        A neighbor has changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        """
        if interest_state:
            self.set_downstream_node_interest_state(SFMRPruneState.DI)
        else:
            self.set_downstream_node_interest_state(SFMRPruneState.NDI)

        A neighbor has changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        
A neighbor has changed Interest state due to the reception of any control packet
(IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
A neighbor has changed Interest state due to the reception of any control packet ( IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync )
def change_interest_state(self, interest_state):
        if interest_state:
            self.set_downstream_node_interest_state(SFMRPruneState.DI)
        else:
            self.set_downstream_node_interest_state(SFMRPruneState.NDI)
def change_interest_state ( self , interest_state ) : if interest_state : self . set_downstream_node_interest_state ( SFMRPruneState . DI ) else : self . set_downstream_node_interest_state ( SFMRPruneState . NDI )
A neighbor has changed Interest state due to the reception of any control packet
(IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
A neighbor has changed Interest state due to the reception of any control packet ( IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync )
"""
        A neighbor has changed Interest state due to the reception of any control packet
        (IamUpstream or IamNoLongerUpstream or Interest or NoInterest or Sync)
        """
self
interest_state