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

FailedEdgeCreate() protected method

Common code to signify the failure of edge creation.
protected FailedEdgeCreate ( TunnelEdgeCallbackAction teca ) : void
teca TunnelEdgeCallbackAction
return void
    protected void FailedEdgeCreate(TunnelEdgeCallbackAction teca)
    {
      teca.Success.Value = false;
      teca.Exception.Value = new Exception("Not enough forwarders!");
      teca.Edge.Value = null;
      _node.EnqueueAction(teca);
    }