ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilRpcClientFactory Class Reference

@classDescription Factory for ILIAS rpc client More...

+ Collaboration diagram for ilRpcClientFactory:

Static Public Member Functions

static factory (string $a_package, int $a_timeout=0)
 Creates an ilRpcClient instance to our ilServer. More...
 

Detailed Description

@classDescription Factory for ILIAS rpc client

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 24 of file class.ilRpcClientFactory.php.

Member Function Documentation

◆ factory()

static ilRpcClientFactory::factory ( string  $a_package,
int  $a_timeout = 0 
)
static

Creates an ilRpcClient instance to our ilServer.

Parameters
string$a_packagePackage name
int$a_timeoutThe maximum number of seconds to allow ilRpcClient to connect.
Returns
ilRpcClient

Definition at line 33 of file class.ilRpcClientFactory.php.

34 {
35 return new ilRpcClient(
36 ilRPCServerSettings::getInstance()->getServerUrl(),
37 $a_package . '.',
38 $a_timeout,
39 'UTF-8'
40 );
41 }
Class ilRpcClient.

References ilRPCServerSettings\getInstance().

Referenced by ilObjTest\deliverPDFfromFO(), ilObjSearchRpcClientCoordinator\getRpcClient(), ilLuceneSearcher\highlight(), ilCertificateRpcClientFactoryHelper\ilFO2PDF(), ilLuceneSearcher\performSearch(), ilRPCServerSettings\pingServer(), ilLuceneIndexer\run(), ilMailLuceneSearcher\search(), and ilLuceneIndexer\updateLuceneIndex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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