ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilRpcClientFactory Class Reference

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

Factory for ILIAS rpc client

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

Definition at line 31 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 40 of file class.ilRpcClientFactory.php.

References ilRPCServerSettings\getInstance().

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

40  : ilRpcClient
41  {
42  return new ilRpcClient(
43  ilRPCServerSettings::getInstance()->getServerUrl(),
44  $a_package . '.',
45  $a_timeout,
46  'UTF-8'
47  );
48  }
Class ilRpcClient.
+ 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: