core
Interface ModuleCommunicationListener

All Known Implementing Classes:
EnergyAwareRouter, InterferenceLimitedInterface, NetworkInterface, SimpleBroadcastInterface

public interface ModuleCommunicationListener

This interface should be implemented by classes that want to be notified of variable value changes in ModuleCommunicationBuses.


Method Summary
 void moduleValueChanged(java.lang.String key, java.lang.Object newValue)
          This method is called whenever a variable, whose changes the module has registered to, changes.
 

Method Detail

moduleValueChanged

void moduleValueChanged(java.lang.String key,
                        java.lang.Object newValue)
This method is called whenever a variable, whose changes the module has registered to, changes.

Parameters:
key - The name of the variable
newValue - New value for the variable