Brunet.Tunnel.TunnelEdgeListener.UpdateNeighborIntersection C# (CSharp) Method

UpdateNeighborIntersection() protected method

Whenever the node receives a new StatusMessage from a tunnel, we use this to build a consisting of the intersection of our peers creating a table of potential tunneling options. We close the edge if it is empty.
protected UpdateNeighborIntersection ( TunnelEdge from, IDictionary msg ) : void
from TunnelEdge
msg IDictionary
return void
    protected void UpdateNeighborIntersection(TunnelEdge from, IDictionary msg)
    {
      List<Connection> overlap = _ito.EvaluateOverlap(_connections, msg);
      from.UpdateNeighborIntersection(overlap);
    }