Wrapper for the shard executable implementation.
More...
#include <controller.hpp>
Wrapper for the shard executable implementation.
Definition at line 20 of file uhs/atomizer/shard/controller.hpp.
◆ controller() [1/4]
cbdc::shard::controller::controller |
( |
| ) |
|
|
delete |
◆ controller() [2/4]
cbdc::shard::controller::controller |
( |
const controller & | | ) |
|
|
delete |
◆ controller() [3/4]
cbdc::shard::controller::controller |
( |
controller && | | ) |
|
|
delete |
◆ controller() [4/4]
Constructor.
- Parameters
-
shard_id | the running ID of this shard. |
opts | pointer to configuration options. |
logger | pointer shared logger. |
Definition at line 14 of file uhs/atomizer/shard/controller.cpp.
◆ ~controller()
cbdc::shard::controller::~controller |
( |
| ) |
|
◆ init()
auto cbdc::shard::controller::init |
( |
| ) |
-> bool |
Initializes the controller.
Opens client connections to archiver, watchtower, and atomizer. Establishes a server for the controllers shard. Configures network handlers. If initialization fails, returns false and logs errors.
- Returns
- true if initialization succeeded.
Definition at line 42 of file uhs/atomizer/shard/controller.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: