MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / close

Method close

libcaf_io/caf/io/middleman.cpp:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250expected<void> middleman::close(uint16_t port) {
251 auto self = scoped_actor{system()};
252 return self->mail(close_atom_v, port)
253 .request(actor_handle(), infinite)
254 .receive();
255}
256
257expected<node_id> middleman::connect(std::string host, uint16_t port) {
258 auto self = scoped_actor{system()};

Callers 3

caf_mainFunction · 0.45
closeFunction · 0.45
new_tcp_connectionFunction · 0.45

Calls 3

receiveMethod · 0.45
requestMethod · 0.45
mailMethod · 0.45

Tested by

no test coverage detected