be.ac.ulg.montefiore.run.totem.trafficMatrix.model
Class AbstractLoadData

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.trafficMatrix.model.AbstractLoadData
All Implemented Interfaces:
LoadData
Direct Known Subclasses:
SettableCosMPLSLoadData, SettableHybridLoadData, SettableIPLoadData

public abstract class AbstractLoadData
extends java.lang.Object
implements LoadData

Provides the listener management functionality to the LoadData object.

Creation date: 6/02/2008

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
AbstractLoadData()
           
 
Method Summary
 void addListener(LoadDataListener listener)
          Adds a listener that signals change in the data.
 void notifyDataChange()
          Tells all the listeners that data has changed.
 void removeListener(LoadDataListener listener)
          Remove a listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.trafficMatrix.model.LoadData
getDroppedTraffic, getDroppedTraffic, getDroppedTrafficMatrix, getDroppedTrafficMatrix, getLoad, getLoad, getUtilization, getUtilization
 

Constructor Detail

AbstractLoadData

public AbstractLoadData()
Method Detail

addListener

public void addListener(LoadDataListener listener)
Description copied from interface: LoadData
Adds a listener that signals change in the data.

Specified by:
addListener in interface LoadData

notifyDataChange

public void notifyDataChange()
Description copied from interface: LoadData
Tells all the listeners that data has changed.

Specified by:
notifyDataChange in interface LoadData

removeListener

public void removeListener(LoadDataListener listener)
Description copied from interface: LoadData
Remove a listener.

Specified by:
removeListener in interface LoadData


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.