dnp3 (C++ API) 1.1.0
|
List of IP endpoints. More...
#include <dnp3.hpp>
Public Member Functions | |
EndpointList (EndpointList &&other) noexcept | |
Transfer ownership of the underlying C-type to this instance and invalidate the other instance. More... | |
EndpointList (const std::string &main_endpoint) | |
Create a new list of IP endpoints. More... | |
~EndpointList () | |
Destroy a previously allocated endpoint list. More... | |
void | add (const std::string &endpoint) |
Add an IP endpoint to the list. More... | |
Friends | |
class | CppEndpointListFriend |
List of IP endpoints.
You can write IP addresses or DNS names and the port to connect to. e.g. "127.0.0.1:20000" or "dnp3.myorg.com:20000".
|
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::EndpointList::EndpointList | ( | const std::string & | main_endpoint | ) |
Create a new list of IP endpoints.
You can write IP addresses or DNS names and the port to connect to. e.g. "127.0.0.1:20000" or "dnp3.myorg.com:20000".
main_endpoint | Main endpoint |
dnp3::EndpointList::~EndpointList | ( | ) |
Destroy a previously allocated endpoint list.
void dnp3::EndpointList::add | ( | const std::string & | endpoint | ) |
Add an IP endpoint to the list.
You can write IP addresses or DNS names and the port to connect to. e.g. "127.0.0.1:20000" or "dnp3.myorg.com:20000".
endpoint | Endpoint to add to the list |