summaryrefslogtreecommitdiff
path: root/src/components/include/protocol_handler/protocol_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/protocol_handler/protocol_handler.h')
-rw-r--r--src/components/include/protocol_handler/protocol_handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/include/protocol_handler/protocol_handler.h b/src/components/include/protocol_handler/protocol_handler.h
index 5e65fc69d4..4eefc43b22 100644
--- a/src/components/include/protocol_handler/protocol_handler.h
+++ b/src/components/include/protocol_handler/protocol_handler.h
@@ -39,6 +39,7 @@
*\namespace protocol_handlerHandler
*\brief Namespace for SmartDeviceLink ProtocolHandler related functionality.
*/
+
namespace protocol_handler {
class ProtocolObserver;
@@ -73,6 +74,7 @@ class ProtocolHandler {
* connection must be closed when message is processed
*/
virtual void SendMessageToMobileApp(const RawMessagePtr message,
+ bool needs_encryption,
bool final_message) = 0;
/**
@@ -136,6 +138,8 @@ class ProtocolHandler {
const SessionContext& context,
std::vector<std::string>& rejected_params) = 0;
+ virtual bool IsRPCServiceSecure(const uint32_t connection_key) const = 0;
+
protected:
/**
* \brief Destructor