Brunet.Services.ConnectionHandler.HandleDisconnection C# (CSharp) Method

HandleDisconnection() protected method

Lost an edge...
protected HandleDisconnection ( object ct, EventArgs ea ) : void
ct object
ea System.EventArgs
return void
    protected void HandleDisconnection(object ct, EventArgs ea)
    {
      ConnectionEventArgs cea = ea as ConnectionEventArgs;
      Connection con = cea.Connection;
      if(con.MainType != ConnectionType.Structured) {
        return;
      }

      ValidDisconnection(con);
    }