Interface edu.cornell.lassp.mck10.Hysteresis.AvalancheConsumer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface edu.cornell.lassp.mck10.Hysteresis.AvalancheConsumer

public interface AvalancheConsumer
extends Object
AvalancheConsumer is an interface which must be implemented by any class which needs to receive avalanche data. If an AvalancheConsumer is registered with a model using the registerAvalancheConsumer method, the model will call the notify method each time a new avalanche flips.

Source Code is available.

Version:
1.0
Author:
Matt Kuntz (e-mail: mck10@cornell.edu)

Method Index

 o notify(Avalanche, AvalancheProducer)
notify(avalanche,producer) is called each time a model generates an avalanche.

Methods

 o notify
  public abstract void notify(Avalanche avalanche,
                              AvalancheProducer producer)
notify(avalanche,producer) is called each time a model generates an avalanche.
Parameters:
avalanche - The avalanche that has been generated.
producer - The model which generated the avalanche.

All Packages  Class Hierarchy  This Package  Previous  Next  Index