|
ILIAS
release_8 Revision v8.24
|
Class for storing all rpc communication settings. More...
Collaboration diagram for ilRPCServerSettings:Public Member Functions | |
| isEnabled () | |
| Returns true if server ip and port are set. More... | |
| getServerUrl () | |
| getHost () | |
| setHost ($a_host) | |
| getPort () | |
| setPort (string $a_port) | |
| getPath () | |
| update () | |
| pingServer () | |
Static Public Member Functions | |
| static | getInstance () |
Data Fields | |
| string | $rpc_host = '' |
| string | $rpc_port = '' |
Private Member Functions | |
| __construct () | |
Private Attributes | |
| const | RPC_SERVER_PATH = "/RPC2" |
| ilLogger | $log |
| ilSetting | $settings |
Static Private Attributes | |
| static ilRPCServerSettings | $instance = null |
Class for storing all rpc communication settings.
Definition at line 32 of file class.ilRPCServerSettings.php.
|
private |
Definition at line 44 of file class.ilRPCServerSettings.php.
References $DIC, and ILIAS\Repository\settings().
Here is the call graph for this function:| ilRPCServerSettings::getHost | ( | ) |
Definition at line 73 of file class.ilRPCServerSettings.php.
References $rpc_host, and ILIAS\Repository\settings().
Referenced by getServerUrl(), isEnabled(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 52 of file class.ilRPCServerSettings.php.
References $instance.
Referenced by ilCertificateActiveValidator\__construct(), ilRpcClientFactory\factory(), and ilRPCServerSettingsTest\testConstruct().
Here is the caller graph for this function:| ilRPCServerSettings::getPath | ( | ) |
Definition at line 99 of file class.ilRPCServerSettings.php.
References RPC_SERVER_PATH.
| ilRPCServerSettings::getPort | ( | ) |
Definition at line 86 of file class.ilRPCServerSettings.php.
References $rpc_port, and ILIAS\Repository\settings().
Referenced by getServerUrl(), isEnabled(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRPCServerSettings::getServerUrl | ( | ) |
Definition at line 68 of file class.ilRPCServerSettings.php.
References getHost(), getPort(), and RPC_SERVER_PATH.
Here is the call graph for this function:| ilRPCServerSettings::isEnabled | ( | ) |
| ilRPCServerSettings::pingServer | ( | ) |
Definition at line 110 of file class.ilRPCServerSettings.php.
References Vendor\Package\$e, and ilRpcClientFactory\factory().
Here is the call graph for this function:| ilRPCServerSettings::setHost | ( | $a_host | ) |
Definition at line 81 of file class.ilRPCServerSettings.php.
| ilRPCServerSettings::setPort | ( | string | $a_port | ) |
Definition at line 94 of file class.ilRPCServerSettings.php.
| ilRPCServerSettings::update | ( | ) |
Definition at line 104 of file class.ilRPCServerSettings.php.
References getHost(), getPort(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
staticprivate |
Definition at line 36 of file class.ilRPCServerSettings.php.
Referenced by getInstance().
|
private |
Definition at line 41 of file class.ilRPCServerSettings.php.
| string ilRPCServerSettings::$rpc_host = '' |
Definition at line 38 of file class.ilRPCServerSettings.php.
Referenced by getHost().
| string ilRPCServerSettings::$rpc_port = '' |
Definition at line 39 of file class.ilRPCServerSettings.php.
Referenced by getPort().
|
private |
Definition at line 42 of file class.ilRPCServerSettings.php.
|
private |
Definition at line 34 of file class.ilRPCServerSettings.php.
Referenced by getPath(), and getServerUrl().