diff options
author | JackLivio <jack@livio.io> | 2018-11-16 13:09:47 -0500 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2018-11-16 13:09:47 -0500 |
commit | fbfe1fc119aaecd5cf0a1c9dfd495089ae20dc49 (patch) | |
tree | 402c3251d5942e2ff97919f0379ef4e5875cd562 /src/components/application_manager/include/application_manager/application_impl.h | |
parent | 00a81813d4de6e20bda021d4c19d7054f27d875c (diff) | |
download | sdl_core-fbfe1fc119aaecd5cf0a1c9dfd495089ae20dc49.tar.gz |
Clean up application and app manager code
Diffstat (limited to 'src/components/application_manager/include/application_manager/application_impl.h')
-rw-r--r-- | src/components/application_manager/include/application_manager/application_impl.h | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/src/components/application_manager/include/application_manager/application_impl.h b/src/components/application_manager/include/application_manager/application_impl.h index 5a1a385d1e..74b2be0934 100644 --- a/src/components/application_manager/include/application_manager/application_impl.h +++ b/src/components/application_manager/include/application_manager/application_impl.h @@ -409,25 +409,60 @@ class ApplicationImpl : public virtual Application, void SwapMobileMessageQueue(MobileMessageQueue& mobile_messages) OVERRIDE; - std::string cloud_app_endpoint() OVERRIDE; + /** + * @brief Get cloud app endpoint for websocket connection + * @return cloud app endpoint + */ + const std::string cloud_app_endpoint() OVERRIDE; - std::string cloud_app_authtoken() OVERRIDE; + /** + * @brief Get cloud app authtoken to be used in connection handshake after websocket open. + * @return cloud app authtoken + */ + const std::string cloud_app_authtoken() OVERRIDE; - std::string cloud_app_transport_type() OVERRIDE; + /** + * @brief Get cloud app tranpsport type. Defines the type of websocket connection used. + * @return cloud app transport type + */ + const std::string cloud_app_transport_type() OVERRIDE; - std::string hybrid_app_preference() OVERRIDE; + /** + * @brief Get hybrid app preference. Defines behaviour for when a similar mobile and cloud app are connected simultaneously. + * @return hybrid app preference + */ + const std::string hybrid_app_preference() OVERRIDE; - std::string cloud_app_certificate() OVERRIDE; + /** + * @brief Get cloud app certificate. Used for secured websocket connections. + * @return cloud app certificate. + */ + const std::string cloud_app_certificate() OVERRIDE; + /** + * @brief Set cloud app endpoint + */ void set_cloud_app_endpoint(const std::string& endpoint) OVERRIDE; + /** + * @brief Set cloud app auth token + */ void set_cloud_app_auth_token(const std::string& auth_token) OVERRIDE; + /** + * @brief Set cloud app transport type + */ void set_cloud_app_transport_type(const std::string& transport_type) OVERRIDE; + /** + * @brief Set hybrid app preference + */ void set_hybrid_app_preference( const std::string& hybrid_app_preference) OVERRIDE; + /** + * @brief Set cloud app certificate + */ void set_cloud_app_certificate(const std::string& certificate) OVERRIDE; protected: |