summaryrefslogtreecommitdiff
path: root/src/components/include/protocol_handler
diff options
context:
space:
mode:
authorSho Amano <samano@xevo.com>2017-08-09 10:49:27 +0900
committerSho Amano <samano@xevo.com>2017-08-11 10:44:34 +0900
commit501c3fdd2e9b5194cd1a5a3070c500dc95be9147 (patch)
treefa5dac87c6ce77c4c0f582dc4db176dda0b60c37 /src/components/include/protocol_handler
parent02cda0ef2c5b25d48848b00f2a1edd449d29983b (diff)
downloadsdl_core-501c3fdd2e9b5194cd1a5a3070c500dc95be9147.tar.gz
Deprecate OnSessionStartedCallback()
Reflecting review comments.
Diffstat (limited to 'src/components/include/protocol_handler')
-rw-r--r--src/components/include/protocol_handler/session_observer.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/include/protocol_handler/session_observer.h b/src/components/include/protocol_handler/session_observer.h
index 70035b5a3c..606c6e1d11 100644
--- a/src/components/include/protocol_handler/session_observer.h
+++ b/src/components/include/protocol_handler/session_observer.h
@@ -67,6 +67,26 @@ class SessionObserver {
/**
* \brief Callback function used by ProtocolHandler
* when Mobile Application initiates start of new session.
+ * \param connection_handle Connection identifier within which session
+ * has to be started.
+ * \param sessionId Identifier of the session to be start
+ * \param service_type Type of service
+ * \param protocol_version Version of protocol
+ * \param is_protected would be service protected
+ * \param hash_id pointer for session hash identifier, uint32_t* hash_id
+ * \return uint32_t Id (number) of new session if successful, otherwise 0.
+ */
+ // DEPRECATED
+ virtual uint32_t OnSessionStartedCallback(
+ const transport_manager::ConnectionUID connection_handle,
+ const uint8_t sessionId,
+ const protocol_handler::ServiceType& service_type,
+ const bool is_protected,
+ uint32_t* hash_id) = 0;
+
+ /**
+ * \brief Callback function used by ProtocolHandler
+ * when Mobile Application initiates start of new session.
* Result must be notified through NotifySessionStartedResult().
* \param connection_handle Connection identifier within which session
* has to be started.