ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilRPCServerSettings Class Reference
+ Collaboration diagram for ilRPCServerSettings:

Public Member Functions

 ilRPCServerSettings ()
 getHost ()
 setHost ($a_host)
 getPort ()
 setPort ($a_port)
 getPath ()
 update ()
 pingServer ()

Data Fields

 $rpc_host = ''
 $rpc_port = ''
 $log = null
 $db = null
 $err = null
 $settings_obj = null

Detailed Description

Definition at line 37 of file class.ilRPCServerSettings.php.

Member Function Documentation

ilRPCServerSettings::getHost ( )

Definition at line 60 of file class.ilRPCServerSettings.php.

References $rpc_host.

Referenced by update().

{
if(strlen($this->rpc_host))
{
}
return $this->rpc_host = $this->ilias->getSetting('rpc_server_host');
}

+ Here is the caller graph for this function:

ilRPCServerSettings::getPath ( )

Definition at line 84 of file class.ilRPCServerSettings.php.

References RPC_SERVER_PATH.

{
}
ilRPCServerSettings::getPort ( )

Definition at line 72 of file class.ilRPCServerSettings.php.

References $rpc_port.

Referenced by update().

{
if(strlen($this->rpc_port))
{
}
return $this->rpc_port = $this->ilias->getSetting('rpc_server_port');
}

+ Here is the caller graph for this function:

ilRPCServerSettings::ilRPCServerSettings ( )

Definition at line 50 of file class.ilRPCServerSettings.php.

References $ilLog.

{
global $ilLog,$ilDB,$ilError,$ilias;
$this->log =& $ilLog;
$this->db =& $ilDB;
$this->err =& $ilError;
$this->ilias =& $ilias;
}
ilRPCServerSettings::pingServer ( )

Definition at line 97 of file class.ilRPCServerSettings.php.

References $res, and RPC_SERVER_ALIVE.

{
include_once 'Services/Search/classes/Lucene/class.ilLuceneRPCAdapter.php';
$rpc_adapter =& new ilLuceneRPCAdapter();
$rpc_adapter->setMode('ping');
$res = $rpc_adapter->send();
{
return true;
}
return false;
}
ilRPCServerSettings::setHost (   $a_host)

Definition at line 68 of file class.ilRPCServerSettings.php.

{
$this->rpc_host = $a_host;
}
ilRPCServerSettings::setPort (   $a_port)

Definition at line 80 of file class.ilRPCServerSettings.php.

{
$this->rpc_port = $a_port;
}
ilRPCServerSettings::update ( )

Definition at line 89 of file class.ilRPCServerSettings.php.

References getHost(), and getPort().

{
$this->ilias->setSetting('rpc_server_host',$this->getHost());
$this->ilias->setSetting('rpc_server_port',$this->getPort());
return true;
}

+ Here is the call graph for this function:

Field Documentation

ilRPCServerSettings::$db = null

Definition at line 44 of file class.ilRPCServerSettings.php.

ilRPCServerSettings::$err = null

Definition at line 45 of file class.ilRPCServerSettings.php.

ilRPCServerSettings::$log = null

Definition at line 43 of file class.ilRPCServerSettings.php.

ilRPCServerSettings::$rpc_host = ''

Definition at line 40 of file class.ilRPCServerSettings.php.

Referenced by getHost().

ilRPCServerSettings::$rpc_port = ''

Definition at line 41 of file class.ilRPCServerSettings.php.

Referenced by getPort().

ilRPCServerSettings::$settings_obj = null

Definition at line 47 of file class.ilRPCServerSettings.php.


The documentation for this class was generated from the following file: