|
||||||||||
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 DomainChangeListener
public final void removeNodeEvent(Node node)
DomainChangeListener
removeNodeEvent
in interface DomainChangeListener
public final void nodeLocationChangeEvent(Node node)
DomainChangeListener
nodeLocationChangeEvent
in interface DomainChangeListener
public final void addLinkEvent(Link link)
DomainChangeListener
addLinkEvent
in interface DomainChangeListener
public final void removeLinkEvent(Link link)
DomainChangeListener
removeLinkEvent
in interface DomainChangeListener
public final void linkMetricChangeEvent(Link link)
DomainChangeListener
linkMetricChangeEvent
in interface DomainChangeListener
public final void linkTeMetricChangeEvent(Link link)
DomainChangeListener
linkTeMetricChangeEvent
in interface DomainChangeListener
public final void linkBandwidthChangeEvent(Link link)
DomainChangeListener
linkBandwidthChangeEvent
in interface DomainChangeListener
public final void linkReservedBandwidthChangeEvent(Link link)
DomainChangeListener
linkReservedBandwidthChangeEvent
in interface DomainChangeListener
public final void linkDelayChangeEvent(Link link)
DomainChangeListener
linkDelayChangeEvent
in interface DomainChangeListener
public final void addLspEvent(Lsp lsp)
DomainChangeListener
addLspEvent
in interface DomainChangeListener
public final void removeLspEvent(Lsp lsp)
DomainChangeListener
removeLspEvent
in interface DomainChangeListener
public final void lspReservationChangeEvent(Lsp lsp)
DomainChangeListener
lspReservationChangeEvent
in interface DomainChangeListener
public final void lspWorkingPathChangeEvent(Lsp lsp)
DomainChangeListener
lspWorkingPathChangeEvent
in interface DomainChangeListener
public 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 |