|
ADTF
|
#include <adtf_remote_system.h>
Public Member Functions | |
| cADTFRemoteSystem (const char *strHostUrl) | |
| ~cADTFRemoteSystem () | |
| adtf::util::cStringList | FindObjectsByRPCIID (const char *strRPCIID) const |
| tResult | GetObjectClient (const char *strObject, IRPCObjectClientPtr &oClient) const |
| tResult | Ping () const |
| uint64_t | GetProcessID () const |
| adtf::util::cString | GetHostURL () const |
Static Public Attributes | |
| static constexpr const char *const | DEFAULT_HOST_URL = ADTF_REMOTE_DEFAULT_HOST_URL |
Protected Member Functions | |
| cADTFRemoteSystem () | |
| CTOR. | |
Default ADTF RPC Client Factory to create Json Object Clients! This factory can will create the Default Clients to communicate with a ADTF instance.
|
explicit |
CTOR.
| [in] | strHostUrl | Host URL of the ADTF System. By default the DEFAULT_HOST_URL will be used. |
| adtf::remote::ant::cADTFRemoteSystem::~cADTFRemoteSystem | ( | ) |
DTOR.
| adtf::util::cStringList adtf::remote::ant::cADTFRemoteSystem::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 adtf::remote::ant::cADTFRemoteSystem::GetHostURL | ( | ) | const |
Gets the current Host URL.
| tResult adtf::remote::ant::cADTFRemoteSystem::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 adtf::remote::ant::cADTFRemoteSystem::GetProcessID | ( | ) | const |
Get Process ID
| tResult adtf::remote::ant::cADTFRemoteSystem::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.