OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
OMVRpcServiceMgr Class Reference
Inheritance diagram for OMVRpcServiceMgr:
OMVObject

Public Member Functions

 registerService (OMVRpcServiceAbstract $service)
 
 getService ($name)
 
 getServices ()
 
 initializeServices ()
 
 dump ()
 
- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 

Static Public Member Functions

static & getInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Detailed Description

Helper class to handle RPC services.

Member Function Documentation

OMVRpcServiceMgr::dump ( )
final

Dump all registered RPC services.

static& OMVRpcServiceMgr::getInstance ( )
static

Returns a RPC manager singleton.

Returns
The RPC manager object.
OMVRpcServiceMgr::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.
OMVRpcServiceMgr::getServices ( )
final

Get all registered RPC services.

Returns
An array containing all registered RPC services.
OMVRpcServiceMgr::initializeServices ( )
final

Initialize the services.

OMVRpcServiceMgr::registerService ( OMVRpcServiceAbstract  $service)
final

Register a RPC service.

Parameters
serviceThe RPC service class to be registered.
Returns
Returns TRUE on success or FALSE on failure.
Exceptions
E_RPC_SERVICE_ALREADY_EXISTS

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