Filter used to restrict which IP addresses may communicate with a server
More...
|
| AddressFilter (string address) |
| Create an address filter that matches one or more IP addresses. Ipv4 or IPv6 addresses are allowed. More...
|
|
void | Add (string address) |
| Add an allowed IP address to the filter More...
|
|
Filter used to restrict which IP addresses may communicate with a server
◆ AddressFilter()
rodbus.AddressFilter.AddressFilter |
( |
string |
address | ) |
|
|
inline |
Create an address filter that matches one or more IP addresses. Ipv4 or IPv6 addresses are allowed.
Examples: 192.168.1.26, 192.168.0.*, *.*.*.*
Wildcards are only supported for IPv4 addresses
- Parameters
-
address | IP address to accept |
- Exceptions
-
◆ Add()
void rodbus.AddressFilter.Add |
( |
string |
address | ) |
|
|
inline |
Add an allowed IP address to the filter
This function may only be called if the AddressFilter was initially constructed with a single static address
- 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: