Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service client connection state handling #1780

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions ecal/core/src/service/ecal_clientgate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,6 @@ namespace eCAL
}
}

std::vector<SServiceAttr> CClientGate::GetServiceAttr(const std::string& service_name_)
{
std::vector<SServiceAttr> ret_vec;
const std::shared_lock<std::shared_timed_mutex> lock(m_service_register_map_sync);

// look for requested services
for (auto service : m_service_register_map)
{
if (service.second.sname == service_name_)
{
ret_vec.push_back(service.second);
}
}
return(ret_vec);
}

void CClientGate::GetRegistrations(Registration::SampleList& reg_sample_list_)
{
if (!m_created) return;
Expand Down
2 changes: 0 additions & 2 deletions ecal/core/src/service/ecal_clientgate.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ namespace eCAL

void ApplyServiceRegistration(const Registration::Sample& ecal_sample_);

std::vector<SServiceAttr> GetServiceAttr(const std::string& service_name_);

void GetRegistrations(Registration::SampleList& reg_sample_list_);

protected:
Expand Down
Loading
Loading