Свойство | Type | Description | |
---|---|---|---|
Sender | ISender |
Свойство | Type | Description | |
---|---|---|---|
_ch | CertificateHandler | ||
_closed | int | ||
_receiving | bool | ||
_sending | bool | ||
_state | States | ||
_state_lock | object |
Méthode | Description | |
---|---|---|
CheckState ( ) : void |
|
|
Close ( string reason ) : bool |
This closes the SA and cleans up its state.
|
|
HandleData ( Brunet.MemBlock data, ISender return_path, object state ) : void |
All incoming data filters through here.
|
|
SecurityAssociation ( ISender sender, CertificateHandler ch ) : Mono.Security.X509 |
|
|
Send ( ICopyable app_data ) : void |
All outgoing data filters through here.
|
|
ToString ( ) : string | ||
ToUri ( ) : string | ||
Verify ( string id ) : bool |
Méthode | Description | |
---|---|---|
HandleIncoming ( Brunet.MemBlock data, Brunet.MemBlock &app_data ) : bool |
|
|
HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool |
|
|
UpdateState ( States next ) : void |
|
|
UpdateState ( States current, States next ) : void | ||
UpdateState ( States current, States next, bool if_current ) : void |
|
public HandleData ( Brunet.MemBlock data, ISender return_path, object state ) : void | ||
data | Brunet.MemBlock | |
return_path | ISender | |
state | object | |
Résultat | void |
abstract protected HandleIncoming ( Brunet.MemBlock data, Brunet.MemBlock &app_data ) : bool | ||
data | Brunet.MemBlock | |
app_data | Brunet.MemBlock | |
Résultat | bool |
abstract protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
Résultat | bool |
public SecurityAssociation ( ISender sender, CertificateHandler ch ) : Mono.Security.X509 | ||
sender | ISender | |
ch | CertificateHandler | |
Résultat | Mono.Security.X509 |
protected UpdateState ( States next ) : void | ||
next | States | |
Résultat | void |
protected UpdateState ( States current, States next ) : void | ||
current | States | |
next | States | |
Résultat | void |
protected UpdateState ( States current, States next, bool if_current ) : void | ||
current | States | |
next | States | |
if_current | bool | |
Résultat | void |