ADTF
3.18.4
|
An RPC Server that receives calls via HTTP. More...
Classes | |
class | cLockedRPCObject |
Implements thread safe access to the rpc::IRPCObject object. More... | |
Public Types | |
typedef std::pair< std::unique_ptr< a_util::concurrency::shared_mutex >, IRPCObject * > | tRPCItem |
Type granting thread safe access to an object of type rpc::IRPCObject. | |
Public Member Functions | |
virtual a_util::result::Result | RegisterRPCObject (const char *strName, IRPCObject *pObject) |
Register an RPC object. More... | |
virtual a_util::result::Result | UnregisterRPCObject (const char *strName) |
Unregisters an RPC object. More... | |
virtual cLockedRPCObject | GetRPCObject (const char *strName) const |
Get thread safe rpc object access by the rpc objects name. More... | |
Private Types | |
typedef std::map< std::string, tRPCItem > | tRPCObjects |
Private Attributes | |
a_util::concurrency::shared_mutex | m_oObjectsLock |
tRPCObjects | m_oRPCObjects |
An RPC Server that receives calls via HTTP.
Definition at line 29 of file rpc_object_registry.h.
|
virtual |
Get thread safe rpc object access by the rpc objects name.
[in] | strName | Name of the rpc object |
|
virtual |
Register an RPC object.
[in] | strName | The name of the object. |
[in] | pObject | The object. |
Implements IRPCObjectsRegistry.
|
virtual |
Unregisters an RPC object.
[in] | strName | The name of the object. |
Implements IRPCObjectsRegistry.