ADTF
3.18.2
|
Default ADTF RPC Client Factory to create Json Object Clients! This factory can will create the Default Clients to communicate with a ADTF instance. More...
Public Member Functions | |
cADTFRemoteSystem (const char *strHostUrl) | |
CTOR. More... | |
~cADTFRemoteSystem () | |
DTOR. | |
adtf::util::cStringList | FindObjectsByRPCIID (const char *strRPCIID) const |
Retrieves a list of objectnames registered within the adtf::services::ant::IRPCObjectServerRegistry on server side which supports the given strRPCIID rpc interface id. More... | |
tResult | GetObjectClient (const char *strObject, IRPCObjectClientPtr &oClient) const |
Retrieves an implementation of a IRPCObjectClient for the given object if supported. More... | |
tResult | Ping () const |
Requests a response of the ADTF Remote System. More... | |
uint64_t | GetProcessID () const |
Get Process ID. More... | |
adtf::util::cString | GetHostURL () const |
Gets the current Host URL. More... | |
Static Public Attributes | |
static constexpr const char *const | DEFAULT_HOST_URL = ADTF_REMOTE_DEFAULT_HOST_URL |
ADTF System Launcher default JSon Server Address. More... | |
Protected Member Functions | |
cADTFRemoteSystem () | |
CTOR. | |
Private Attributes | |
std::unique_ptr< cADTFRemoteSystemPrivate > | _d |
Default ADTF RPC Client Factory to create Json Object Clients! This factory can will create the Default Clients to communicate with a ADTF instance.
Definition at line 29 of file adtf_remote_system.h.
|
explicit |
CTOR.
[in] | strHostUrl | Host URL of the ADTF System. By default the DEFAULT_HOST_URL will be used. |
adtf::util::cStringList FindObjectsByRPCIID | ( | const char * | strRPCIID | ) | const |
Retrieves a list of objectnames registered within the adtf::services::ant::IRPCObjectServerRegistry on server side which supports the given strRPCIID
rpc interface id.
[in] | strRPCIID | The rpc interface id to look for. |
adtf::util::cString GetHostURL | ( | ) | const |
Gets the current Host URL.
tResult GetObjectClient | ( | const char * | strObject, |
IRPCObjectClientPtr & | oClient | ||
) | const |
Retrieves an implementation of a IRPCObjectClient for the given object if supported.
Following interfaces are supported:
Use as follows:
[in] | strObject | Object name |
[in] | oClient | Implementation of IRPCObjectClientPtr to retrieve the IRPCObjectClient to. See also rpc_object_client_ptr |
ERR_NOT_SUPPORTED | Interface is not supported |
ERR_NOT_FOUND | Object is not found |
uint64_t GetProcessID | ( | ) | const |
Get Process ID.
tResult Ping | ( | ) | const |
Requests a response of the ADTF Remote System.
Use to check if a system is available on the given URL.
ERR_NOERROR | ADTF is available. |
ERR_NOT_CONNECTED | ADTF Remote System did not response. |
|
staticconstexpr |
ADTF System Launcher default JSon Server Address.
Definition at line 57 of file adtf_remote_system.h.