Property | Type | Description | |
---|---|---|---|
Sender | ISender |
Property | Type | Description | |
---|---|---|---|
_ch | CertificateHandler | ||
_closed | int | ||
_receiving | bool | ||
_sending | bool | ||
_state | States | ||
_state_lock | object |
Method | 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 |
Method | 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 | |
return | void |
abstract protected HandleIncoming ( Brunet.MemBlock data, Brunet.MemBlock &app_data ) : bool | ||
data | Brunet.MemBlock | |
app_data | Brunet.MemBlock | |
return | bool |
abstract protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
return | bool |
public SecurityAssociation ( ISender sender, CertificateHandler ch ) : Mono.Security.X509 | ||
sender | ISender | |
ch | CertificateHandler | |
return | Mono.Security.X509 |
protected UpdateState ( States current, States next ) : void | ||
current | States | |
next | States | |
return | void |
protected UpdateState ( States current, States next, bool if_current ) : void | ||
current | States | |
next | States | |
if_current | bool | |
return | void |