Brunet.Security.PeerSec.Symphony.SymphonySecurityOverlord.RemoveSA C# (CSharp) Method

RemoveSA() protected method

Removes the specified SA from our database.
protected RemoveSA ( SecurityAssociation sa ) : void
sa SecurityAssociation
return void
    override protected void RemoveSA(SecurityAssociation sa)
    {
      lock(_sync) {
        AHSender sender = sa.Sender as AHSender;
        if(sender != null) {
          _address_to_sa.Remove(sender.Destination);
          _sa_to_address.Remove(sa);
        }
        base.RemoveSA(sa);
      }
    }