Package casa.lepton
Interface OppEdgeListener
public interface OppEdgeListener
This interface is implemented by classes that listen to network changes:
connections and disconnections between nodes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An edge has been added between two nodes.void
edgeChanged
(String nodeId, String edgeStatus) The status of an edge between two nodes changed.void
edgeRemoved
(String nodeId, String edgeStatus) An edge has been removed between two nodes.
-
Method Details
-
edgeAdded
An edge has been added between two nodes.- Parameters:
nodeId
- the other node idedgeStatus
- the status of the edge
-
edgeRemoved
An edge has been removed between two nodes.- Parameters:
nodeId
- the other node idedgeStatus
- the status of the edge
-
edgeChanged
The status of an edge between two nodes changed.- Parameters:
nodeId
- the other node idedgeStatus
- the status of the edge
-