Свойство | Тип | Описание | |
---|---|---|---|
$_client | Client. | ||
$_id | Unique node id | ||
$_info | Node info. | ||
$_name | Node name. | ||
$_stats | Node stats. |
Метод | Описание | |
---|---|---|
__construct ( string $id, |
Create a new node object. | |
getClient ( ) : |
Returns the current client object. | |
getId ( ) : string | ||
getInfo ( ) : |
Return info object of the current node. | |
getName ( ) : string | Get the name of the node. | |
getStats ( ) : |
Return stats object of the current node. | |
refresh ( ) | Refreshes all node information. | |
setId ( string $id ) |
public __construct ( string $id, |
||
$id | string | Node id or name |
$client | Node object |
public getClient ( ) : |
||
Результат | Client |
public getInfo ( ) : |
||
Результат | Node info object |
public getStats ( ) : |
||
Результат | Node stats |
public refresh ( ) |