C# Class Brunet.Security.Transport.SecureEdgeListener

Binds an EdgeListener to the SecurityOverlord and handles the securing of insecure edges. This class is thread-safe.
Inheritance: WrapperEdgeListener
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_edge_to_inbound bool>.Dictionary
_edge_to_sa SecurityAssociation>.Dictionary
_so Brunet.Security.SecurityOverlord

Méthodes publiques

Méthode Description
SecureEdgeListener ( Brunet.EdgeListener el, Brunet.Security.SecurityOverlord so ) : Brunet

Méthodes protégées

Méthode Description
AnnounceSA ( SecurityAssociation sa, SecurityAssociation state ) : void

When a SecurityAssociation changes amongst inactive, active, or closed this gets notified.

HandleEdgeClose ( object edge, EventArgs ea ) : void
RemoveFromDictionary ( Edge edge, SecurityAssociation &sa ) : bool
WrapEdge ( Edge edge ) : void

Makes the SecurityOverlord listen to the edge and instantiates a new SecurityAssociation for the insecure edge. CreateSecurityAssociation is idempotent.

Method Details

AnnounceSA() protected méthode

When a SecurityAssociation changes amongst inactive, active, or closed this gets notified.
protected AnnounceSA ( SecurityAssociation sa, SecurityAssociation state ) : void
sa SecurityAssociation
state SecurityAssociation
Résultat void

HandleEdgeClose() protected méthode

protected HandleEdgeClose ( object edge, EventArgs ea ) : void
edge object
ea System.EventArgs
Résultat void

RemoveFromDictionary() protected méthode

protected RemoveFromDictionary ( Edge edge, SecurityAssociation &sa ) : bool
edge Edge
sa SecurityAssociation
Résultat bool

SecureEdgeListener() public méthode

public SecureEdgeListener ( Brunet.EdgeListener el, Brunet.Security.SecurityOverlord so ) : Brunet
el Brunet.EdgeListener
so Brunet.Security.SecurityOverlord
Résultat Brunet

WrapEdge() protected méthode

Makes the SecurityOverlord listen to the edge and instantiates a new SecurityAssociation for the insecure edge. CreateSecurityAssociation is idempotent.
protected WrapEdge ( Edge edge ) : void
edge Edge
Résultat void

Property Details

_edge_to_inbound protected_oe property

protected Dictionary _edge_to_inbound
Résultat bool>.Dictionary

_edge_to_sa protected_oe property

protected Dictionary _edge_to_sa
Résultat SecurityAssociation>.Dictionary

_so protected_oe property

protected SecurityOverlord,Brunet.Security _so
Résultat Brunet.Security.SecurityOverlord