Свойство | Type | Description | |
---|---|---|---|
DemuxHandler | DemuxHandler | ||
EdgeVerifyMethod | EdgeVerifier | ||
MAX_AVG_QUEUE_LENGTH | int | ||
PACKET_QUEUE_RETAIN | float | ||
SimulatorRandom | Random | ||
_disconnect_on_overload | bool |
Свойство | 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 |
Méthode | 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 |
Méthode | 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 |
Méthode | Description | |
---|---|---|
Node ( ) : System |
public AddConnectionOverlord ( ConnectionOverlord co ) : void | ||
co | ConnectionOverlord | |
Résultat | void |
public AddEdgeListener ( EdgeListener el ) : void | ||
el | EdgeListener | |
Résultat | void |
public AddTADiscovery ( |
||
disc | ||
Résultat | void |
protected Announce ( MemBlock b, ISender from ) : void | ||
b | MemBlock | |
from | ISender | |
Résultat | void |
protected CheckEdgesCallback ( object node, |
||
node | object | |
args | ||
Résultat | void |
protected CheckForStateChange ( object ct, |
||
ct | object | |
ce_args | ||
Résultat | void |
public ClearTypeSource ( Object t ) : void | ||
t | Object | The key for the MultiSource. |
Résultat | void |
protected ComputeDynamicTimeout ( ) : System.TimeSpan | ||
Résultat | System.TimeSpan |
public ConnectionHandler ( object ct, |
||
ct | object | |
args | ||
Résultat | void |
public static CreateLocalSender ( object n, string uri ) : |
||
n | object | |
uri | string | |
Résultat |
protected EdgeHandler ( object edge, |
||
edge | object | |
args | ||
Résultat | void |
public GetNodeInfo ( int max_local ) : NodeInfo | ||
max_local | int | |
Résultat | NodeInfo |
public GetNodeInfo ( int max_local, TAAuthorizer ta_auth ) : NodeInfo | ||
max_local | int | |
ta_auth | TAAuthorizer | |
Résultat | NodeInfo |
public GetStatus ( string con_type_string, Brunet.Address addr ) : |
||
con_type_string | string | |
addr | Brunet.Address | |
Résultat |
public GetTypeSource ( Object t ) : ISource | ||
t | Object | The key for the MultiSource. |
Résultat | ISource |
public HandleData ( MemBlock data, ISender return_path, object state ) : void | ||
data | MemBlock | |
return_path | ISender | |
state | object | |
Résultat | void |
protected HandleTADiscoveryState ( |
||
n | ||
newstate | ||
Résultat | void |
protected Node ( Address addr, string realm ) : System | ||
addr | Address | |
realm | string | |
Résultat | System |
protected SendStateChange ( ConnectionState new_state ) : void | ||
new_state | ConnectionState | |
Résultat | void |
protected SetConState ( ConnectionState new_cs, bool &success ) : ConnectionState | ||
new_cs | ConnectionState | |
success | bool | |
Résultat | ConnectionState |
protected StartConnectionOverlords ( ) : void | ||
Résultat | void |
protected StopConnectionOverlords ( ) : void | ||
Résultat | void |
public UpdateRemoteTAs ( IList |
||
tas_to_add | IList |
|
Résultat | void |
public static int MAX_AVG_QUEUE_LENGTH | ||
Résultat | int |
protected static TimeSpan MAX_CONNECTION_TIMEOUT | ||
Résultat | TimeSpan |
public static float PACKET_QUEUE_RETAIN | ||
Résultat | float |
static protected int _MAX_RECORDED_TAS | ||
Résultat | int |
protected Brunet.Services.CodeInjection _codeinjection | ||
Résultat | Brunet.Services.CodeInjection |
protected ConnectionTable _connection_table | ||
Résultat | ConnectionTable |
protected Dictionary |
||
Résultat | Brunet.Util.FuzzyEvent>.Dictionary |
protected MapReduceHandler,Brunet.Services.MapReduce _mr_handler | ||
Résultat |
protected LFBlockingQueue |
||
Résultat | Brunet.Concurrent.LFBlockingQueue |