Brunet.Connections.OnDemandConnectionOverlord.LostConnection C# (CSharp) Méthode

LostConnection() protected méthode

protected LostConnection ( Connection con ) : void
con Connection
Résultat void
    override protected void LostConnection(Connection con)
    {
      if(!ConnectionDesired(con.Address)) {
        if(con.ConType.Equals(Type)) {
        }
        return;
      }

      if(IsActive) {
        if(ProtocolLog.PolicyBasedCO.Enabled) {
          ProtocolLog.Write(ProtocolLog.PolicyBasedCO, String.Format(
                            "Disconnection: {0} at {1}", con, DateTime.UtcNow));
        }
        DelayedConnectTo(con.Address, true);
      }
    }