Свойство | Тип | Описание | |
---|---|---|---|
XmppService | XmppService |
Свойство | Тип | Описание | |
---|---|---|---|
_app_node | |||
_fe_stop_pem | FuzzyEvent | ||
_node_config | |||
_node_config_path | string | ||
_path | String | ||
_rand | |||
_running | bool | ||
_shutdown | Brunet.Applications.Shutdown | ||
_type_to_pem | PathELManager>.Dictionary | ||
_xrm |
Метод | Описание | |
---|---|---|
BasicNode ( |
Prepares a BasicNode.
|
|
CreateNode ( |
Creates an ApplicationNode and prepares it for connection to the overlay. For historical reasons it is linked to _node, _dht, _rpc_dht, and _bso.
|
|
OnExit ( ) : void |
This method is registered as a delegate to Shutdown.OnExit and will be called when ctrl-c is pressed by the user. This stops services, prevents the node from reincarnating, and then disconnects the node.
|
|
Run ( ) : void |
This should be called by the Main after all the setup is done this passes control to the _node and won't return until the program is exiting. (It is synchronous.)
|
Метод | Описание | |
---|---|---|
CreateBaseEdgeListener ( |
Given a EdgeListener info and a list of addresses to advertise, returns an EdgeListener.
|
|
CreateEdgeListener ( |
Given an EdgeListener info, attempts to find a PathEL, if one is not found, creates a base EL and wraps it with a PathEL.
|
|
CreatePrivateNode ( |
Create a PrivateNode given a shared node and a node_config.
|
|
GetXmlRpcUri ( |
||
StopPem ( System.DateTime now ) : void |
All nodes are disconnected? Stop the PathEL.
|
public BasicNode ( |
||
node_config | A node config object. | |
Результат | System |
protected CreateBaseEdgeListener ( |
||
el_info | ||
node | ||
addresses | IEnumerable | |
Результат | EdgeListener |
protected CreateEdgeListener ( |
||
el_info | ||
node | ||
addresses | IEnumerable | |
Результат | EdgeListener |
public CreateNode ( |
||
node_config | ||
Результат |
protected CreatePrivateNode ( |
||
shared | ||
node_config | ||
Результат | void |
protected GetXmlRpcUri ( |
||
appnode | ||
Результат | string |
protected StopPem ( System.DateTime now ) : void | ||
now | System.DateTime | |
Результат | void |
protected ApplicationNode,Brunet.Applications _app_node | ||
Результат |
protected NodeConfig,Brunet.Applications _node_config | ||
Результат |
protected Shutdown,Brunet.Applications _shutdown | ||
Результат | Brunet.Applications.Shutdown |
protected Dictionary |
||
Результат | PathELManager>.Dictionary |