34define(
"RPC_SERVER_PATH",
"/RPC2");
 
   35define(
"RPC_SERVER_ALIVE",
true);
 
   62                $this->err =& $ilError;
 
   63                $this->
ilias =& $ilias;
 
   96                if(strlen($this->rpc_host))
 
  100                return $this->rpc_host = $this->
ilias->getSetting(
'rpc_server_host');
 
  104                $this->rpc_host = $a_host;
 
  108                if(strlen($this->rpc_port))
 
  112                return $this->rpc_port = $this->
ilias->getSetting(
'rpc_server_port');
 
  116                $this->rpc_port = $a_port;
 
  125                $this->
ilias->setSetting(
'rpc_server_host',$this->
getHost());
 
  126                $this->
ilias->setSetting(
'rpc_server_port',$this->
getPort());
 
  133                include_once 
'./Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
 
  142                        $ilLog->write(__METHOD__.
': '.$e->getMessage());
 
isEnabled()
Returns true if server ip and port are set.
static getInstance()
Get singelton instance.
__construct()
Singleton contructor.
static factory($a_package)
Create an XML_RPC2 client instance.
redirection script todo: (a better solution should control the processing via a xml file)