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