diff options
Diffstat (limited to 'src/components/include/protocol_handler/session_observer.h')
-rw-r--r-- | src/components/include/protocol_handler/session_observer.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/components/include/protocol_handler/session_observer.h b/src/components/include/protocol_handler/session_observer.h index ccf000a18d..3482c6569c 100644 --- a/src/components/include/protocol_handler/session_observer.h +++ b/src/components/include/protocol_handler/session_observer.h @@ -297,6 +297,16 @@ class SessionObserver { uint8_t session_id, uint8_t& protocol_version) const = 0; + /** + * @brief Check if session contains service with specified service type + * @param connection_key unique id of session to check + * @param service_type type of service to check + * @return true if session contains service with specified service type + */ + virtual bool SessionServiceExists( + const uint32_t connection_key, + const protocol_handler::ServiceType& service_type) const = 0; + #ifdef ENABLE_SECURITY /** * \brief Sets crypto context of connection @@ -327,16 +337,6 @@ class SessionObserver { const uint32_t& key, const protocol_handler::ServiceType& service_type) = 0; - /** - * @brief Check if session contains service with specified service type - * @param connection_key unique id of session to check - * @param service_type type of service to check - * @return true if session contains service with specified service type - */ - virtual bool SessionServiceExists( - const uint32_t connection_key, - const protocol_handler::ServiceType& service_type) const = 0; - virtual security_manager::SSLContext::HandshakeContext GetHandshakeContext( uint32_t key) const = 0; #endif // ENABLE_SECURITY |