dnp3 (C++ API) 1.1.0
dnp3::EndpointList Class Reference

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
 

Detailed Description

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".

Constructor & Destructor Documentation

◆ EndpointList() [1/2]

dnp3::EndpointList::EndpointList ( EndpointList &&  other)
inlinenoexcept

Transfer ownership of the underlying C-type to this instance and invalidate the other instance.

Note
the moved class will now throw an exception if any method is called
Parameters
otherClass from which ownership will be transfer to this instance

◆ EndpointList() [2/2]

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".

Parameters
main_endpointMain endpoint

◆ ~EndpointList()

dnp3::EndpointList::~EndpointList ( )

Destroy a previously allocated endpoint list.

Member Function Documentation

◆ add()

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".

Parameters
endpointEndpoint to add to the list

The documentation for this class was generated from the following file: