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 Type
    Method
    Description
    void
    edgeAdded(String nodeId, String edgeStatus)
    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

      void edgeAdded(String nodeId, String edgeStatus)
      An edge has been added between two nodes.
      Parameters:
      nodeId - the other node id
      edgeStatus - the status of the edge
    • edgeRemoved

      void edgeRemoved(String nodeId, String edgeStatus)
      An edge has been removed between two nodes.
      Parameters:
      nodeId - the other node id
      edgeStatus - the status of the edge
    • edgeChanged

      void edgeChanged(String nodeId, String edgeStatus)
      The status of an edge between two nodes changed.
      Parameters:
      nodeId - the other node id
      edgeStatus - the status of the edge