Brunet.Security.PeerSec.Symphony.SecureConnectionHandler.ConStateChange C# (CSharp) Метод

ConStateChange() защищенный Метод

protected ConStateChange ( Connection con, Connections.ConnectionState>.Pair cs ) : void
con Brunet.Connections.Connection
cs Connections.ConnectionState>.Pair
Результат void
    protected void ConStateChange(Connection con,
        Pair<Connections.ConnectionState, Connections.ConnectionState> cs)
    {
      if(cs.First.Edge.Equals(cs.Second.Edge)) {
        return;
      }

      if(!_ondemand.ConnectionDesired(con.Address)) {
        return;
      }
      SecurityAssociation sa;
      GetSecureSender(con, out sa);
    }