Outstation address filter.
More...
#include <dnp3.hpp>
|
class | CppAddressFilterFriend |
|
Outstation address filter.
◆ AddressFilter() [1/2]
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
-
other | Class from which ownership will be transfer to this instance |
◆ AddressFilter() [2/2]
dnp3::AddressFilter::AddressFilter |
( |
const std::string & |
address | ) |
|
Create an address filter that matches a specific address or wildcards.
Examples: 192.168.1.26, 192.168.0.*, *.*.*.*
Wildcards are only supported for IPv4 addresses
- Parameters
-
address | IP address to accept |
- Exceptions
-
◆ ~AddressFilter()
dnp3::AddressFilter::~AddressFilter |
( |
| ) |
|
Destroy an address filter.
◆ add()
void dnp3::AddressFilter::add |
( |
const std::string & |
address | ) |
|
Add an accepted IP address to the filter.
- Parameters
-
- Exceptions
-
◆ any()
Create an address filter that accepts any IP address.
- Returns
- Address filter
The documentation for this class was generated from the following file: