CConnman::Start

Start the connection manager and its worker threads.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f2e2b747b50, 0x7f2e2b747c10, 0x7f2e2b747cd0, 0x7f2e2b747d90), requires_capability(0x7f2e28940860, 0x7f2e28940920, 0x7f2e289409e0, 0x7f2e28940aa0), requires_capability(0x7f2e234cfa40, 0x7f2e234cfb00, 0x7f2e234cfbc0, 0x7f2e234cfc80), requires_capability(0x7f2e2737c1e0, 0x7f2e2737c2a0, 0x7f2e2737c360, 0x7f2e2737c420), requires_capability(0x7f2e235ed870, 0x7f2e235ed930, 0x7f2e235ed9f0, 0x7f2e235edab0), requires_capability(0x7f2e2a349960, 0x7f2e2a349a20, 0x7f2e2a349ae0, 0x7f2e2a349ba0), requires_capability(0x7f2e219f6730, 0x7f2e219f67f0, 0x7f2e219f68b0, 0x7f2e219f6970), requires_capability(0x7f2e21c815f0, 0x7f2e21c816b0, 0x7f2e21c81770, 0x7f2e21c81830), requires_capability(0x7f2e1aa34150, 0x7f2e1aa34210, 0x7f2e1aa342d0, 0x7f2e1aa34390), requires_capability(0x7f2e376b6230, 0x7f2e376b62f0, 0x7f2e376b63b0, 0x7f2e376b6470), requires_capability(0x7f2e433cbdc0, 0x7f2e433cbe80, 0x7f2e433cbf40, 0x7f2e433cc000)]]
bool
Start(
    CScheduler& scheduler,
    Options const& options);

Return Value

true if the connection manager started successfully.

Parameters

NameDescription
schedulerthe scheduler used for recurring background tasks.
optionsthe configuration options to apply before starting.