Provides fine-grained control over how TCP and TLS clients connect to endpoints
More...
|
| TimeSpan | Disconnected (string addr, string hostname) |
| | Notification that a previously successful connection failed. The task will sleep for the specified duration before attempting another connection More...
|
| |
| void | Connecting (string addr, string hostname) |
| | Notification that a connection attempt is being made More...
|
| |
| void | ConnectFailed (string addr, string hostname) |
| | Notification that connection operation failed More...
|
| |
| void | Connected (string addr, string hostname) |
| | Notification that a connection attempt succeeded More...
|
| |
| void | ResolutionFailed (string hostname) |
| | Notification that DNS resolution failed More...
|
| |
| void | Next (NextEndpointAction action) |
| | Called to get the next endpoint to connect to or to sleep for a duration. Use the provided action object to specify the response. More...
|
| |
Provides fine-grained control over how TCP and TLS clients connect to endpoints
◆ Connected()
| void dnp3.IClientConnectionHandler.Connected |
( |
string |
addr, |
|
|
string |
hostname |
|
) |
| |
Notification that a connection attempt succeeded
- Parameters
-
| addr | Socket address that connected successfully |
| hostname | Optional hostname (empty string if none) |
◆ ConnectFailed()
| void dnp3.IClientConnectionHandler.ConnectFailed |
( |
string |
addr, |
|
|
string |
hostname |
|
) |
| |
Notification that connection operation failed
- Parameters
-
| addr | Socket address that failed to connect |
| hostname | Optional hostname (empty string if none) |
◆ Connecting()
| void dnp3.IClientConnectionHandler.Connecting |
( |
string |
addr, |
|
|
string |
hostname |
|
) |
| |
Notification that a connection attempt is being made
- Parameters
-
| addr | Socket address being connected to |
| hostname | Optional hostname (empty string if none) |
◆ Disconnected()
| TimeSpan dnp3.IClientConnectionHandler.Disconnected |
( |
string |
addr, |
|
|
string |
hostname |
|
) |
| |
Notification that a previously successful connection failed. The task will sleep for the specified duration before attempting another connection
- Parameters
-
| addr | Socket address that was disconnected |
| hostname | Optional hostname (empty string if none) |
- Returns
- Amount of time to sleep before attempting to reconnect
◆ Next()
Called to get the next endpoint to connect to or to sleep for a duration. Use the provided action object to specify the response.
- Parameters
-
| action | Action object to specify next endpoint or sleep duration |
◆ ResolutionFailed()
| void dnp3.IClientConnectionHandler.ResolutionFailed |
( |
string |
hostname | ) |
|
Notification that DNS resolution failed
- Parameters
-
| hostname | Hostname that failed to resolve |
The documentation for this interface was generated from the following file:
- IClientConnectionHandler.cs