![]() |
dnp3 (C++ API) 1.6.0
|
Class with methods used to spawn servers. More...
#include <dnp3.hpp>
Public Member Functions | |
| MasterServer (MasterServer &&other) noexcept | |
| Transfer ownership of the underlying C-type to this instance and invalidate the other instance. More... | |
| ~MasterServer () | |
| Shutdown down the server. More... | |
Static Public Member Functions | |
| static MasterServer | create_tcp_server (Runtime &runtime, const std::string &local_addr, const LinkIdConfig &link_id_config, std::unique_ptr< ConnectionHandler > connection_handler) |
| Spawn a TCP server that accepts connections from outstations. More... | |
Friends | |
| class | CppMasterServerFriend |
Class with methods used to spawn servers.
|
inlinenoexcept |
Transfer ownership of the underlying C-type to this instance and invalidate the other instance.
| other | Class from which ownership will be transfer to this instance |
| dnp3::MasterServer::~MasterServer | ( | ) |
Shutdown down the server.
|
static |
Spawn a TCP server that accepts connections from outstations.
The behavior of each connection is controlled by callbacks to a user-defined implementation of a ConnectionHandler.
| runtime | Runtime on which to spawn the server |
| local_addr | Local address on which the server will accept connections |
| link_id_config | Configuration used when identifying outstations based on received link-frames |
| connection_handler | Callbacks used to accept and start communication sessions |
| ParamException |