summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/endpoint_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/endpoints/include/endpoint_impl.hpp')
-rw-r--r--implementation/endpoints/include/endpoint_impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/implementation/endpoints/include/endpoint_impl.hpp b/implementation/endpoints/include/endpoint_impl.hpp
index 3c9b3da..6b8b274 100644
--- a/implementation/endpoints/include/endpoint_impl.hpp
+++ b/implementation/endpoints/include/endpoint_impl.hpp
@@ -51,6 +51,8 @@ public:
void decrement_use_count();
uint32_t get_use_count();
+ void register_error_handler(error_handler_t _error_handler);
+
public:
// required
virtual bool is_client() const = 0;
@@ -81,6 +83,9 @@ protected:
std::mutex local_mutex_;
endpoint_type local_;
+
+ error_handler_t error_handler_;
+ std::mutex error_handler_mutex_;
};
} // namespace vsomeip