Brunet.Transport.EdgeListener.RequestClose C# (CSharp) 메소드

RequestClose() 보호된 메소드

protected RequestClose ( Edge e ) : void
e Edge
리턴 void
    protected void RequestClose(Edge e) {
      EventHandler eh = EdgeCloseRequestEvent;
      if( eh == null ) {
        //We have to close the edge:
        e.Close();
      }
      else {
        try {
          eh(this, new EdgeCloseRequestArgs(e));
        }
        catch(Exception x) {
          Console.Error.WriteLine("ERROR: closing: {0} -- {1}", e, x);
          e.Close();
        }
      }
    }