ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ilRpcClientFactory Class Reference
+ Collaboration diagram for ilRpcClientFactory:

Static Public Member Functions

static factory (string $package, int $timeout=0)
 

Detailed Description

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  $package,
int  $timeout = 0 
)
static
Parameters
string$packagePackage name
int$timeoutThe maximum number of seconds to allow ilRpcClient to connect.

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

31 {
32 return new ilRpcClient(
33 ilRPCServerSettings::getInstance()->getServerUrl(),
34 $package . '.',
35 $timeout
36 );
37 }

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: