Property | Type | Description | |
---|---|---|---|
DemuxHandler | DemuxHandler | ||
EdgeVerifyMethod | EdgeVerifier | ||
MAX_AVG_QUEUE_LENGTH | int | ||
PACKET_QUEUE_RETAIN | float | ||
SimulatorRandom | Random | ||
_disconnect_on_overload | bool |
Property | Type | Description | |
---|---|---|---|
MAX_CONNECTION_TIMEOUT | TimeSpan | ||
MAX_QUEUE_LENGTH | int | ||
_LOG | bool | ||
_MAX_RECORDED_TAS | int | ||
_announce_thread | Thread | ||
_check_edges | Util.FuzzyEvent | ||
_co_list | List |
||
_codeinjection | Brunet.Services.CodeInjection | ||
_con_state | ConnectionState | ||
_connection_table | ConnectionTable | ||
_connection_timeout | TimeSpan | ||
_current_action | IAction | ||
_edge_factory | EdgeFactory | ||
_edgelistener_list | ArrayList | ||
_heart_period | int | ||
_heartbeat_handlers | Brunet.Util.FuzzyEvent>.Dictionary | ||
_local_add | Address | ||
_monitor_fe | Util.FuzzyEvent | ||
_mr_handler | |||
_packet_queue | Brunet.Concurrent.LFBlockingQueue |
||
_packet_queue_exp_avg | float | ||
_realm | string | ||
_remote_ta | ImmutableList |
||
_rpc | RpcManager | ||
_rrm | ReqrepManager | ||
_running | int | ||
_send_pings | int | ||
_sync | object | ||
_ta_discovery | ImmutableList |
||
_task_queue | NodeTaskQueue | ||
_unconnected_timeout | TimeSpan |
Method | Description | |
---|---|---|
Abort ( ) : void | ||
AddConnectionOverlord ( ConnectionOverlord co ) : void | ||
AddEdgeListener ( EdgeListener el ) : void | ||
AddTADiscovery ( |
Add a TA discovery agent.
|
|
Clear ( ) : void |
Deletes (and thus unsubscribes) all IDataHandlers for the table.
|
|
ClearTypeSource ( Object t ) : void |
Deletes (and thus unsubscribes) all IDataHandlers for a given key.
|
|
Connect ( ) : void | ||
ConnectionHandler ( object ct, |
||
CreateLocalSender ( object n, string uri ) : |
||
Disconnect ( ) : void | ||
EnqueueAction ( IAction a ) : void | ||
GetNodeInfo ( int max_local ) : NodeInfo | ||
GetNodeInfo ( int max_local, TAAuthorizer ta_auth ) : NodeInfo | ||
GetStatus ( string con_type_string, Brunet.Address addr ) : |
||
GetTypeSource ( Object t ) : ISource |
All packets that come to this are demultiplexed according to t. To subscribe or unsubscribe, get the ISource for the type you want and subscribe to it,
|
|
HandleData ( MemBlock data, ISender return_path, object state ) : void | ||
Send ( ICopyable data ) : void | ||
ToString ( ) : string | ||
ToUri ( ) : string | ||
UpdateRemoteTAs ( IList |
Method | Description | |
---|---|---|
Announce ( MemBlock b, ISender from ) : void | ||
AnnounceThread ( ) : void | ||
CheckEdgesCallback ( object node, |
||
CheckForStateChange ( object ct, |
||
Close ( Edge e ) : void | ||
ComputeDynamicTimeout ( ) : System.TimeSpan | ||
EdgeHandler ( object edge, |
||
HandleTADiscoveryState ( |
If the node is connecting, we need TAs, if its in any other state, we'll deal with what we have.
|
|
LogPacketQueue ( ) : void | ||
MonitorLogOff ( ) : void | ||
MonitorLogSwitch ( ) : void | ||
Node ( Address addr ) : System | ||
Node ( Address addr, string realm ) : System | ||
SendStateChange ( ConnectionState new_state ) : void | ||
SetConState ( ConnectionState new_cs, bool &success ) : ConnectionState | ||
StartAllEdgeListeners ( ) : void | ||
StartConnectionOverlords ( ) : void | ||
StopAllEdgeListeners ( ) : void | ||
StopConnectionOverlords ( ) : void |
Method | Description | |
---|---|---|
Node ( ) : System |
public AddConnectionOverlord ( ConnectionOverlord co ) : void | ||
co | ConnectionOverlord | |
return | void |
public AddEdgeListener ( EdgeListener el ) : void | ||
el | EdgeListener | |
return | void |
public AddTADiscovery ( |
||
disc | ||
return | void |
protected Announce ( MemBlock b, ISender from ) : void | ||
b | MemBlock | |
from | ISender | |
return | void |
protected CheckEdgesCallback ( object node, |
||
node | object | |
args | ||
return | void |
protected CheckForStateChange ( object ct, |
||
ct | object | |
ce_args | ||
return | void |
public ClearTypeSource ( Object t ) : void | ||
t | Object | The key for the MultiSource. |
return | void |
protected ComputeDynamicTimeout ( ) : System.TimeSpan | ||
return | System.TimeSpan |
public ConnectionHandler ( object ct, |
||
ct | object | |
args | ||
return | void |
public static CreateLocalSender ( object n, string uri ) : |
||
n | object | |
uri | string | |
return |
protected EdgeHandler ( object edge, |
||
edge | object | |
args | ||
return | void |
public GetNodeInfo ( int max_local ) : NodeInfo | ||
max_local | int | |
return | NodeInfo |
public GetNodeInfo ( int max_local, TAAuthorizer ta_auth ) : NodeInfo | ||
max_local | int | |
ta_auth | TAAuthorizer | |
return | NodeInfo |
public GetStatus ( string con_type_string, Brunet.Address addr ) : |
||
con_type_string | string | |
addr | Brunet.Address | |
return |
public GetTypeSource ( Object t ) : ISource | ||
t | Object | The key for the MultiSource. |
return | ISource |
public HandleData ( MemBlock data, ISender return_path, object state ) : void | ||
data | MemBlock | |
return_path | ISender | |
state | object | |
return | void |
protected HandleTADiscoveryState ( |
||
n | ||
newstate | ||
return | void |
protected Node ( Address addr, string realm ) : System | ||
addr | Address | |
realm | string | |
return | System |
protected SendStateChange ( ConnectionState new_state ) : void | ||
new_state | ConnectionState | |
return | void |
protected SetConState ( ConnectionState new_cs, bool &success ) : ConnectionState | ||
new_cs | ConnectionState | |
success | bool | |
return | ConnectionState |
protected StartConnectionOverlords ( ) : void | ||
return | void |
public UpdateRemoteTAs ( IList |
||
tas_to_add | IList |
|
return | void |
protected static TimeSpan MAX_CONNECTION_TIMEOUT | ||
return | TimeSpan |
protected Brunet.Services.CodeInjection _codeinjection | ||
return | Brunet.Services.CodeInjection |
protected ConnectionTable _connection_table | ||
return | ConnectionTable |
protected Dictionary |
||
return | Brunet.Util.FuzzyEvent>.Dictionary |
protected MapReduceHandler,Brunet.Services.MapReduce _mr_handler | ||
return |
protected LFBlockingQueue |
||
return | Brunet.Concurrent.LFBlockingQueue |