MCPcopy Create free account
hub / github.com/COVESA/vsomeip / ensure_connected

Method ensure_connected

implementation/endpoints/src/client_endpoint_impl.cpp:865–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863
864template<typename Protocol>
865bool client_endpoint_impl<Protocol>::ensure_connected(const boost::system::error_code& _error) {
866 bool result = true;
867 if (!is_established_or_connected()) {
868 VSOMEIP_WARNING_P << "Socket not yet connected (" << _error.message() << ") remote: " << get_remote_information() << ", endpoint > "
869 << this << " socket state > " << to_string(state_.load());
870 was_not_connected_ = true;
871 is_sending_ = false;
872 result = false;
873 }
874 return result;
875}
876
877template<typename Protocol>
878const char* client_endpoint_impl<Protocol>::to_string(cei_state_e state) {

Callers

nothing calls this directly

Calls 3

messageMethod · 0.80
to_stringFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected