|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulg.montefiore.run.totem.domain.model.SwitchingMethod
public abstract class SwitchingMethod
Implements to react to change in node or link status. Must activate and deactivate the appropriate backups LSPs (using
Lsp.activateBackup(Lsp) and Lsp.deactivateBackup(Lsp)) in response to a change of link or node status.
Creation date: 11/09/2007
| Constructor Summary | |
|---|---|
SwitchingMethod()
|
|
| Method Summary | |
|---|---|
void |
addLinkEvent(Link link)
Notify a add link event |
void |
addLspEvent(Lsp lsp)
Notify a add LSP event |
void |
addNodeEvent(Node node)
Notify a add node event |
void |
linkBandwidthChangeEvent(Link link)
Notify a link bandwidth change event |
void |
linkDelayChangeEvent(Link link)
Notify a link delay change event |
void |
linkMetricChangeEvent(Link link)
Notify a link metric change event |
void |
linkReservedBandwidthChangeEvent(Link link)
Notify a link reserved bandwidth change event |
void |
linkTeMetricChangeEvent(Link link)
Notify a link TE metric change event |
void |
lspReservationChangeEvent(Lsp lsp)
Notify a LSP reservation change event |
void |
lspStatusChangeEvent(Lsp lsp)
Notify a change in the status of a lsp |
void |
lspWorkingPathChangeEvent(Lsp lsp)
Notify a change in the working path of the lsp. |
void |
nodeLocationChangeEvent(Node node)
Notify a node location change event |
void |
removeLinkEvent(Link link)
Notify a remove link event |
void |
removeLspEvent(Lsp lsp)
Notify a remove LSP event |
void |
removeNodeEvent(Node node)
Notify a remove node event |
abstract void |
start()
|
abstract void |
stop()
|
| 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.domain.model.DomainChangeListener |
|---|
linkStatusChangeEvent, nodeStatusChangeEvent |
| Constructor Detail |
|---|
public SwitchingMethod()
| Method Detail |
|---|
public abstract void start()
public abstract void stop()
public final void addNodeEvent(Node node)
DomainChangeListener
addNodeEvent in interface DomainChangeListenerpublic final void removeNodeEvent(Node node)
DomainChangeListener
removeNodeEvent in interface DomainChangeListenerpublic final void nodeLocationChangeEvent(Node node)
DomainChangeListener
nodeLocationChangeEvent in interface DomainChangeListenerpublic final void addLinkEvent(Link link)
DomainChangeListener
addLinkEvent in interface DomainChangeListenerpublic final void removeLinkEvent(Link link)
DomainChangeListener
removeLinkEvent in interface DomainChangeListenerpublic final void linkMetricChangeEvent(Link link)
DomainChangeListener
linkMetricChangeEvent in interface DomainChangeListenerpublic final void linkTeMetricChangeEvent(Link link)
DomainChangeListener
linkTeMetricChangeEvent in interface DomainChangeListenerpublic final void linkBandwidthChangeEvent(Link link)
DomainChangeListener
linkBandwidthChangeEvent in interface DomainChangeListenerpublic final void linkReservedBandwidthChangeEvent(Link link)
DomainChangeListener
linkReservedBandwidthChangeEvent in interface DomainChangeListenerpublic final void linkDelayChangeEvent(Link link)
DomainChangeListener
linkDelayChangeEvent in interface DomainChangeListenerpublic final void addLspEvent(Lsp lsp)
DomainChangeListener
addLspEvent in interface DomainChangeListenerpublic final void removeLspEvent(Lsp lsp)
DomainChangeListener
removeLspEvent in interface DomainChangeListenerpublic final void lspReservationChangeEvent(Lsp lsp)
DomainChangeListener
lspReservationChangeEvent in interface DomainChangeListenerpublic final void lspWorkingPathChangeEvent(Lsp lsp)
DomainChangeListener
lspWorkingPathChangeEvent in interface DomainChangeListenerpublic final void lspStatusChangeEvent(Lsp lsp)
DomainChangeListener
lspStatusChangeEvent in interface DomainChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||