Свойство | Тип | Описание | |
---|---|---|---|
Sender | ISender |
Свойство | Тип | Описание | |
---|---|---|---|
_ch | CertificateHandler | ||
_closed | int | ||
_receiving | bool | ||
_sending | bool | ||
_state | States | ||
_state_lock | object |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
abstract protected HandleIncoming ( Brunet.MemBlock data, Brunet.MemBlock &app_data ) : bool | ||
data | Brunet.MemBlock | |
app_data | Brunet.MemBlock | |
Результат | bool |
abstract protected HandleOutgoing ( ICopyable app_data, ICopyable &data ) : bool | ||
app_data | ICopyable | |
data | ICopyable | |
Результат | bool |
public SecurityAssociation ( ISender sender, CertificateHandler ch ) : Mono.Security.X509 | ||
sender | ISender | |
ch | CertificateHandler | |
Результат | Mono.Security.X509 |
protected UpdateState ( States next ) : void | ||
next | States | |
Результат | void |
protected UpdateState ( States current, States next ) : void | ||
current | States | |
next | States | |
Результат | void |
protected UpdateState ( States current, States next, bool if_current ) : void | ||
current | States | |
next | States | |
if_current | bool | |
Результат | void |