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 TypeMethodDescriptionvoidAn edge has been added between two nodes.voidedgeChanged(String nodeId, String edgeStatus) The status of an edge between two nodes changed.voidedgeRemoved(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
-