14#define CID_ADTF_RPC_OBJECT_REGISTRY "rpc_object_registry.service.adtf.cid"
46 virtual tResult SetRPCName(
const char* strRPCName) = 0;
182 virtual tResult RegisterRPCObject(
const char* strObjectName,
185 virtual tResult GetRPCObjectInterfaces(
const char* strObjectName,
204 virtual tResult StopListening() = 0;
207 virtual tResult UnregisterRPCObject(
const char* strName) = 0;
216using lucky::IRPCObjectServerRegistry;
Copyright © Audi Electronics Venture GmbH.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
The IRawMemory interface provides methods for getting and setting memory values through abstract inte...
The IString interface provides methods for getting and setting strings through abstract interfaces.
The RPC Object Server Interface defines the basics to receive RPC calls.
ADTF_IID(IRPCObjectServer, "rpc_object_server.ant.services.adtf.iid")
ADTF IID Defintion.
virtual tResult Receive(const base::ant::IRawMemory &oRequest, base::ant::IRawMemory &&oResponse)=0
Implement to receive RPC requests.
~IRPCObjectServer()=default
hidden ctor
Interface to retrieve the interface definition of a server object.
ADTF_IID(IRPCInterfaceDefinition, "rpc_interface_definition.catwo.services.adtf.iid")
ADTF IID Defintion.
virtual tResult GetInterfaceDefinition(base::ant::IString &&strInterfaceDefinition) const =0
Returns the interface definition the server object.
The Object Server Registry is a single instance to create a single adress entry for RPC Server Object...
virtual tResult StartListening()=0
Starts listening to the given url.
virtual tResult StopListening()=0
Stops listening. No messages will be forwarded.
virtual tResult GetRPCObjectServers(ucom::ant::iobject_enum< remote::ant::IRPCObjectServer > &lstObjects) const =0
Retrieves a list of RPC objects registered.
virtual tResult GetProtocol(base::ant::IString &&strProtocol) const =0
Retrieve the identifier of the protocol used.
virtual tResult RegisterRPCObjectServer(const char *strObjectName, const ucom::ant::iobject_ptr< remote::ant::IRPCObjectServer > &pObject)=0
Registers a IRPCObjectServer implementation with the given name strObjectName to the registry.
virtual tResult UnregisterRPCObjectServer(const char *strObjectName)=0
Unregisters the given name from the object registry.
ADTF_IID(IRPCObjectServerRegistry, "rpc_object_server_registry.ant.services.adtf.iid")
interface identifier
~IRPCObjectServerRegistry()=default
hidden DTOR
ADTF_IID(IRPCObjectServerRegistry, "rpc_object_server_registry.bat.services.adtf.iid")
interface identifier
virtual tResult StartListening()=0
Starts listening to the given url.
ADTF_IID(IRPCObjectServerRegistry, "rpc_object_server_registry.catwo.services.adtf.iid")
interface identifier
ADTF_IID(IRPCObjectServerRegistry, "rpc_object_server_registry.iron.services.adtf.iid")
interface identifier
Base class for every interface type within the uCOM.
Interface definition for a container of objects.
Base object pointer to realize binary compatible reference counting in interface methods.
Interface of an object that support remote calls.
Namespace for all functionality of the ADTF Remote SDK provided since v3.2.
Namespace for all service interfaces provided since v3.1.
Namespace for all service interfaces provided since v3.2.
Namespace for all service interfaces provided since v3.11.
Namespace for a summary of all service interfaces (System Service) provided by ADTF.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.