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

Method activate

libcaf_io/caf/io/network/stream.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void stream::activate(stream_manager* mgr) {
37 if (!reader_) {
38 reader_.reset(mgr);
39 event_handler::activate();
40 prepare_next_read();
41 }
42}
43
44void stream::configure_read(receive_policy::config config) {
45 state_.rd_flag = to_integer(config.first);

Callers 4

add_to_loopMethod · 0.45
add_to_loopMethod · 0.45
add_to_loopMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected