openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | Static Public Member Functions | List of all members
OMV\Rpc\ServiceManager Class Reference

Public Member Functions

 __construct ()
 
 getService ($name)
 
 getServices ()
 
 initializeServices ()
 
 dump ()
 

Static Public Member Functions

static & getInstance ()
 

Detailed Description

Helper class to handle RPC services.

Constructor & Destructor Documentation

◆ __construct()

OMV\Rpc\ServiceManager::__construct ( )

Constructor

Member Function Documentation

◆ dump()

OMV\Rpc\ServiceManager::dump ( )
final

Dump all registered RPC services.

◆ getInstance()

static& OMV\Rpc\ServiceManager::getInstance ( )
static

Returns a RPC manager singleton.

Returns
The RPC manager object.

◆ getService()

OMV\Rpc\ServiceManager::getService (   $name)
final

Get a RPC service.

Parameters
nameThe name of the RPC service to get.
Returns
The RPC service object or FALSE on failure.

◆ getServices()

OMV\Rpc\ServiceManager::getServices ( )
final

Get all registered RPC services.

Returns
An array containing all registered RPC services.

◆ initializeServices()

OMV\Rpc\ServiceManager::initializeServices ( )
final

Initialize the services.


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