Property | Type | Description | |
---|---|---|---|
$_client | Client. | ||
$_id | Unique node id | ||
$_info | Node info. | ||
$_name | Node name. | ||
$_stats | Node stats. |
Method | Description | |
---|---|---|
__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 ( ) : |
||
return | Client |
public getInfo ( ) : |
||
return | Node info object |
public getStats ( ) : |
||
return | Node stats |
public refresh ( ) |