C# Class Brunet.Security.PeerSec.Symphony.SecureConnectionHandler

Provides a wrapper around sender objects, obtaining Edges if available, otherwise overlay senders.
Inheritance: Brunet.Services.ConnectionHandler
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_registered bool>.Dictionary
_so SymphonySecurityOverlord

Méthodes publiques

Méthode Description
HandleData ( MemBlock data, ISender return_path, object state ) : void
SecureConnectionHandler ( PType ptype, StructuredNode node, SymphonySecurityOverlord so ) : Brunet.Collections

Méthodes protégées

Méthode Description
ConStateChange ( Connection con, Connections.ConnectionState>.Pair cs ) : void
GetSecureSender ( Connection con, SecurityAssociation &sa ) : bool
SAStateChange ( SecurityAssociation sa, SecurityAssociation state ) : void
SenderToAddress ( ISender sender ) : Address
TryGetSender ( Address dst, ISender &sender ) : bool
ValidConnection ( Connection con ) : void
ValidDisconnection ( Connection con ) : void

Method Details

ConStateChange() protected méthode

protected ConStateChange ( Connection con, Connections.ConnectionState>.Pair cs ) : void
con Brunet.Connections.Connection
cs Connections.ConnectionState>.Pair
Résultat void

GetSecureSender() protected méthode

protected GetSecureSender ( Connection con, SecurityAssociation &sa ) : bool
con Brunet.Connections.Connection
sa SecurityAssociation
Résultat bool

HandleData() public méthode

public HandleData ( MemBlock data, ISender return_path, object state ) : void
data Brunet.Util.MemBlock
return_path ISender
state object
Résultat void

SAStateChange() protected méthode

protected SAStateChange ( SecurityAssociation sa, SecurityAssociation state ) : void
sa SecurityAssociation
state SecurityAssociation
Résultat void

SecureConnectionHandler() public méthode

public SecureConnectionHandler ( PType ptype, StructuredNode node, SymphonySecurityOverlord so ) : Brunet.Collections
ptype Brunet.Util.PType
node Brunet.Symphony.StructuredNode
so SymphonySecurityOverlord
Résultat Brunet.Collections

SenderToAddress() protected méthode

protected SenderToAddress ( ISender sender ) : Address
sender ISender
Résultat Address

TryGetSender() protected méthode

protected TryGetSender ( Address dst, ISender &sender ) : bool
dst Address
sender ISender
Résultat bool

ValidConnection() protected méthode

protected ValidConnection ( Connection con ) : void
con Brunet.Connections.Connection
Résultat void

ValidDisconnection() protected méthode

protected ValidDisconnection ( Connection con ) : void
con Brunet.Connections.Connection
Résultat void

Property Details

_registered protected_oe property

protected Dictionary _registered
Résultat bool>.Dictionary

_so protected_oe property

protected SymphonySecurityOverlord,Brunet.Security.PeerSec.Symphony _so
Résultat SymphonySecurityOverlord