UpdateLocalTAs() public method

public UpdateLocalTAs ( Edge e, TransportAddress ta ) : void
e Edge
ta TransportAddress
return void
Beispiel #1
0
        public override void UpdateLocalTAs(Edge e, TransportAddress ta)
        {
            PathEdge pe = e as PathEdge;

            if (pe != null)
            {
                _el.UpdateLocalTAs(pe.Edge, ta);
            }
            else
            {
                _el.UpdateLocalTAs(e, ta);
            }
        }
Beispiel #2
0
        ///<summary>This is passed tothe underlying EdgeListener.  By default we do
        ///nothing to this.</summary>
        public override void UpdateLocalTAs(Edge e, TransportAddress ta)
        {
            WrapperEdge edge = e as WrapperEdge;

            if (edge != null)
            {
                _el.UpdateLocalTAs(edge.WrappedEdge, ta);
            }
        }