summaryrefslogtreecommitdiff
path: root/implementation/endpoints/src/endpoint_manager_base.cpp
diff options
context:
space:
mode:
authorDiogo Pedrosa <48529452+DiogoPedrozza@users.noreply.github.com>2023-03-03 11:17:22 +0000
committerGitHub <noreply@github.com>2023-03-03 11:17:22 +0000
commit11447b294a5ad4d8be08a466f769670aa7ed924a (patch)
tree75a04fb3c8cca73a377e707d577c74bcb329597a /implementation/endpoints/src/endpoint_manager_base.cpp
parent44be74e9d2b432494a0634f997887684c71f187f (diff)
downloadvSomeIP-11447b294a5ad4d8be08a466f769670aa7ed924a.tar.gz
vsomeip 3.1.37.1 (#414)
Co-authored-by: Diogo Pedrosa <diogo.pedrosa@ctw.bmwgroup.com>
Diffstat (limited to 'implementation/endpoints/src/endpoint_manager_base.cpp')
-rw-r--r--implementation/endpoints/src/endpoint_manager_base.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/implementation/endpoints/src/endpoint_manager_base.cpp b/implementation/endpoints/src/endpoint_manager_base.cpp
index a79ae48..cfddc87 100644
--- a/implementation/endpoints/src/endpoint_manager_base.cpp
+++ b/implementation/endpoints/src/endpoint_manager_base.cpp
@@ -123,6 +123,13 @@ void endpoint_manager_base::on_disconnect(std::shared_ptr<endpoint> _endpoint) {
rm_->on_disconnect(_endpoint);
}
+bool endpoint_manager_base::on_bind_error(std::shared_ptr<endpoint> _endpoint, uint16_t _remote_port) {
+ (void)_endpoint;
+ (void)_remote_port;
+ return true;
+ // intentionally left blank
+}
+
void endpoint_manager_base::on_error(
const byte_t *_data, length_t _length, endpoint* const _receiver,
const boost::asio::ip::address &_remote_address,
@@ -158,7 +165,7 @@ endpoint_manager_base::log_client_states() const {
{
std::lock_guard<std::mutex> its_lock(local_endpoint_mutex_);
- for (const auto& e : local_endpoints_) {
+ for (const auto &e : local_endpoints_) {
size_t its_queue_size = e.second->get_queue_size();
if (its_queue_size > VSOMEIP_DEFAULT_QUEUE_WARN_SIZE) {
its_client_queue_sizes.push_back(