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

Method config

robot/stream/driver.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 std::string host = "localhost";
48 uint16_t port = 0;
49 config() {
50 opt_group{custom_options_, "global"}
51 .add(server_mode, "server-mode,s", "run in server mode")
52 .add(host, "host,H", "set host (ignored in server mode)")
53 .add(port, "port,p", "set port");
54 }
55};
56
57behavior producer(event_based_actor* self) {

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected