Property | Type | Description | |
---|---|---|---|
_address_to_sender | ISender>.Dictionary | ||
_con_to_csw | ConSenderWrapper>.Dictionary | ||
_node | |||
_ondemand | |||
_ptype | |||
_ptype_mb | |||
_sender_to_address | Address>.Dictionary |
Method | Description | |
---|---|---|
ConnectTo ( Address dst ) : void | ||
ConnectionHandler ( |
||
ContainsAddress ( Address addr ) : bool | ||
GetAddress ( ISender sender ) : Address | ||
GetSender ( Address addr ) : ISender | ||
HandleData ( |
||
Send ( Address dst, |
Method | Description | |
---|---|---|
AddConnection ( Address addr, ISender sender ) : void |
Add to the dictionaries!
|
|
GetConnection ( Address addr ) : |
||
HandleConnection ( object ct, |
New edge...
|
|
HandleDisconnection ( object ct, |
Lost an edge...
|
|
RemoveConnection ( Address addr ) : void |
Lost an edge, remove it from our connections
|
|
SenderToAddress ( ISender sender ) : Address | ||
TryGetSender ( Address dst, ISender &sender ) : bool |
Try to find a sender, if it exists, add to the dictionaries
|
|
ValidConnection ( |
||
ValidDisconnection ( |
protected AddConnection ( Address addr, ISender sender ) : void | ||
addr | Address | |
sender | ISender | |
return | void |
public ConnectionHandler ( |
||
ptype | ||
node | ||
return | Brunet.Connections |
public ContainsAddress ( Address addr ) : bool | ||
addr | Address | |
return | bool |
public GetAddress ( ISender sender ) : Address | ||
sender | ISender | |
return | Address |
protected GetConnection ( Address addr ) : |
||
addr | Address | |
return |
protected HandleConnection ( object ct, |
||
ct | object | |
ea | ||
return | void |
public HandleData ( |
||
data | ||
return_path | ISender | |
state | object | |
return | void |
protected HandleDisconnection ( object ct, |
||
ct | object | |
ea | ||
return | void |
protected RemoveConnection ( Address addr ) : void | ||
addr | Address | |
return | void |
public Send ( Address dst, |
||
dst | Address | |
packet | ||
return | bool |
protected SenderToAddress ( ISender sender ) : Address | ||
sender | ISender | |
return | Address |
protected TryGetSender ( Address dst, ISender &sender ) : bool | ||
dst | Address | |
sender | ISender | |
return | bool |
protected ValidConnection ( |
||
con | ||
return | void |
protected ValidDisconnection ( |
||
con | ||
return | void |
protected Dictionary _address_to_sender | ||
return | ISender>.Dictionary |
protected Dictionary |
||
return | ConSenderWrapper>.Dictionary |
protected StructuredNode,Brunet.Symphony _node | ||
return |
protected OnDemandConnectionOverlord,Brunet.Connections _ondemand | ||
return |
protected MemBlock,Brunet.Util _ptype_mb | ||
return |