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

Method create_server_ep

implementation/endpoints/src/local_endpoint.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::shared_ptr<local_endpoint> local_endpoint::create_server_ep(local_endpoint_context const& _context, local_endpoint_params _params,
52 std::shared_ptr<local_receive_buffer> _receive_buffer) {
53 auto p = std::make_shared<local_endpoint>(hidden{}, _context, std::move(_params), std::move(_receive_buffer), state_e::CONNECTED);
54 if (!p->is_allowed()) {
55 p->stop(false);
56 return nullptr;
57 }
58 return p;
59}
60
61std::shared_ptr<local_endpoint> local_endpoint::create_client_ep(local_endpoint_context const& _context, local_endpoint_params _params) {
62 auto buffer = std::make_shared<local_receive_buffer>(_context.configuration_->get_max_message_size_local(),

Callers

nothing calls this directly

Calls 2

is_allowedMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected