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

Method unpublish

libcaf_io/caf/io/middleman.cpp:283–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283expected<void> middleman::unpublish(const actor_addr& whom, uint16_t port) {
284 auto lg = log::io::trace("whom = {}, port = {}", whom, port);
285 auto self = scoped_actor{system()};
286 return self->mail(unpublish_atom_v, whom, port)
287 .request(actor_handle(), infinite)
288 .receive();
289}
290
291expected<strong_actor_ptr> middleman::remote_actor(std::set<std::string> ifs,
292 std::string host,

Callers 2

controller_implFunction · 0.80
unpublishFunction · 0.80

Calls 4

traceFunction · 0.85
receiveMethod · 0.45
requestMethod · 0.45
mailMethod · 0.45

Tested by

no test coverage detected