|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.trafficMatrix.facade.LinkLoadComputerManagerObserver
public class LinkLoadComputerManagerObserver
This class is used to notify all listeners of changes in the LinkLoadComputerManager (i.e. LinkLoadComputer added, LinkLoadComputer removed, change of default LinkLoadComputer)
Creation date: 9 janv. 2006
LinkLoadComputerManagerListener
,
LinkLoadComputerManager
Constructor Summary | |
---|---|
LinkLoadComputerManagerObserver()
|
Method Summary | |
---|---|
void |
addListener(LinkLoadComputerManagerListener l)
Add a listener to the list of listeners. |
int |
getNbListeners()
return the number of registered listeners |
protected void |
notifyAddLinkLoadComputer(LinkLoadComputer llc)
A LinkLoadComputer has been added to the manager |
protected void |
notifyChangeDefaultLinkLoadComputer(int asId,
LinkLoadComputer llc)
The default LinkLoadComputer has changed for the domain given by its asId. |
protected void |
notifyRemoveLinkLoadComputer(LinkLoadComputer llc)
A LinkLoadComputer has been removed from the manager |
protected void |
notifyRemoveMultipleLinkLoadComputer()
One or more LinkLoadComputer has been removed from the manager |
void |
removeListener(LinkLoadComputerManagerListener l)
Remove a listener from the list of registered listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkLoadComputerManagerObserver()
Method Detail |
---|
public void addListener(LinkLoadComputerManagerListener l)
l
- the listener to addpublic void removeListener(LinkLoadComputerManagerListener l)
l
- public int getNbListeners()
protected void notifyAddLinkLoadComputer(LinkLoadComputer llc)
llc
- protected void notifyRemoveLinkLoadComputer(LinkLoadComputer llc)
llc
- a reference to the removed LinkLoadComputerprotected void notifyRemoveMultipleLinkLoadComputer()
protected void notifyChangeDefaultLinkLoadComputer(int asId, LinkLoadComputer llc)
asId
- Asid of the domain for which the LinkLoadComputer has changedllc
- The new default LinkLoadComputer for the domain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |