Brunet.Transport.EdgeFactory.CreateEdgeTo C# (CSharp) Метод

CreateEdgeTo() публичный Метод

public CreateEdgeTo ( TransportAddress destination, EdgeListener ecb ) : void
destination TransportAddress
ecb EdgeListener
Результат void
    public void CreateEdgeTo(TransportAddress destination,
                             EdgeListener.EdgeCreationCallback ecb)
    {
      TransportAddress.TAType t = destination.TransportAddressType;
      if( _el_map.Contains( t ) ) {
        EdgeListener el = (EdgeListener)_el_map[ t ];
        el.CreateEdgeTo( destination, ecb );
      }
      else {
        ecb(false, null, new EdgeException("No EdgeListener for TA type: " +
                                           t.ToString() ) );
      }
    }
  }