dnp3 (.NET API) 1.1.0
dnp3.AddressFilter Class Reference

Outstation address filter More...

Public Member Functions

 AddressFilter (string address)
 Create an address filter that matches a specific address or wildcards More...
 
void Add (string address)
 Add an accepted IP address to the filter More...
 

Static Public Member Functions

static AddressFilter Any ()
 Create an address filter that accepts any IP address More...
 

Detailed Description

Outstation address filter

Constructor & Destructor Documentation

◆ AddressFilter()

dnp3.AddressFilter.AddressFilter ( string  address)
inline

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
addressIP address to accept
Exceptions
ParamException

Member Function Documentation

◆ Add()

void dnp3.AddressFilter.Add ( string  address)
inline

Add an accepted IP address to the filter

Parameters
addressIP address to add
Exceptions
ParamException

◆ Any()

static AddressFilter dnp3.AddressFilter.Any ( )
inlinestatic

Create an address filter that accepts any IP address

Returns
Address filter

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