Protected Attributes |
| $host = \HCE\transport\PROTOCOL_HOST_DEFAULT |
| $port = \HCE\transport\PROTOCOL_PORT_ADMIN_DEFAULT |
| $timeout = NODE_TIMEOUT |
| $error = 0 |
Detailed Description
HCE Node class Implements basic properties of node
Definition at line 20 of file Node.inc.php.
Constructor & Destructor Documentation
HCE\admin\Node::__construct |
( |
|
$host = null , |
|
|
|
$port = null , |
|
|
|
$timeout = null |
|
) |
| |
Create instance of node object
- Parameters
-
$host | - host name |
$port | - port |
$timeout | - timeout |
Definition at line 134 of file Node.inc.php.
HCE\admin\Node::__destruct |
( |
| ) |
|
Member Function Documentation
HCE\admin\Node::getErrorCode |
( |
| ) |
|
Returns erro code of last executed request
- Returns
- error code
Definition at line 117 of file Node.inc.php.
HCE\admin\Node::getHost |
( |
| ) |
|
Returns host name
- Returns
- host name
Definition at line 57 of file Node.inc.php.
HCE\admin\Node::getPort |
( |
| ) |
|
HCE\admin\Node::getTimeout |
( |
| ) |
|
Returns request timeout
- Returns
- timeout
Definition at line 97 of file Node.inc.php.
HCE\admin\Node::setErrorCode |
( |
|
$errorCode | ) |
|
HCE\admin\Node::setHost |
( |
|
$hostName | ) |
|
HCE\admin\Node::setPort |
( |
|
$port | ) |
|
HCE\admin\Node::setTimeout |
( |
|
$timeout | ) |
|
Set timeout
- Parameters
-
$timeout | - request timeout |
Definition at line 88 of file Node.inc.php.
Member Data Documentation
HCE\admin\Node::$error = 0 |
|
protected |
HCE\admin\Node::$host = \HCE\transport\PROTOCOL_HOST_DEFAULT |
|
protected |
HCE\admin\Node::$port = \HCE\transport\PROTOCOL_PORT_ADMIN_DEFAULT |
|
protected |
HCE\admin\Node::$timeout = NODE_TIMEOUT |
|
protected |
The documentation for this class was generated from the following file: