C# Класс Brunet.Security.PeerSec.Symphony.SecureConnectionHandler

Provides a wrapper around sender objects, obtaining Edges if available, otherwise overlay senders.
Наследование: Brunet.Services.ConnectionHandler
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_registered bool>.Dictionary
_so SymphonySecurityOverlord

Открытые методы

Метод Описание
HandleData ( MemBlock data, ISender return_path, object state ) : void
SecureConnectionHandler ( PType ptype, StructuredNode node, SymphonySecurityOverlord so ) : Brunet.Collections

Защищенные методы

Метод Описание
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

Описание методов

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

protected ConStateChange ( Connection con, Connections.ConnectionState>.Pair cs ) : void
con Brunet.Connections.Connection
cs Connections.ConnectionState>.Pair
Результат void

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

protected GetSecureSender ( Connection con, SecurityAssociation &sa ) : bool
con Brunet.Connections.Connection
sa SecurityAssociation
Результат bool

HandleData() публичный Метод

public HandleData ( MemBlock data, ISender return_path, object state ) : void
data Brunet.Util.MemBlock
return_path ISender
state object
Результат void

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

protected SAStateChange ( SecurityAssociation sa, SecurityAssociation state ) : void
sa SecurityAssociation
state SecurityAssociation
Результат void

SecureConnectionHandler() публичный Метод

public SecureConnectionHandler ( PType ptype, StructuredNode node, SymphonySecurityOverlord so ) : Brunet.Collections
ptype Brunet.Util.PType
node Brunet.Symphony.StructuredNode
so SymphonySecurityOverlord
Результат Brunet.Collections

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

protected SenderToAddress ( ISender sender ) : Address
sender ISender
Результат Address

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

protected TryGetSender ( Address dst, ISender &sender ) : bool
dst Address
sender ISender
Результат bool

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

protected ValidConnection ( Connection con ) : void
con Brunet.Connections.Connection
Результат void

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

protected ValidDisconnection ( Connection con ) : void
con Brunet.Connections.Connection
Результат void

Описание свойств

_registered защищенное свойство

protected Dictionary _registered
Результат bool>.Dictionary

_so защищенное свойство

protected SymphonySecurityOverlord,Brunet.Security.PeerSec.Symphony _so
Результат SymphonySecurityOverlord