Callbacks to user code that determine how the server processes connections
More...
|
| void | Accept (string remoteAddr, AcceptHandler acceptor) |
| | Filter the connection solely based on the remote address More...
|
| |
| void | Start (string remoteAddr, MasterChannel channel) |
| | Start a communication session that was previously accepted using only the socket address More...
|
| |
| void | AcceptWithLinkId (string remoteAddr, ushort source, ushort destination, IdentifiedLinkHandler acceptor) |
| | Filter the connection based on the source and destination of the first link-layer frame More...
|
| |
| void | StartWithLinkId (string remoteAddr, ushort source, ushort destination, MasterChannel channel) |
| | Start a communication session that was previously accepted using link identity information. More...
|
| |
Callbacks to user code that determine how the server processes connections
◆ Accept()
| void dnp3.IConnectionHandler.Accept |
( |
string |
remoteAddr, |
|
|
AcceptHandler |
acceptor |
|
) |
| |
Filter the connection solely based on the remote address
- Parameters
-
| remoteAddr | Socket address of the remote outstation, e.g. 192.168.0.22:51532 |
| acceptor | Class used to handle the accept |
◆ AcceptWithLinkId()
| void dnp3.IConnectionHandler.AcceptWithLinkId |
( |
string |
remoteAddr, |
|
|
ushort |
source, |
|
|
ushort |
destination, |
|
|
IdentifiedLinkHandler |
acceptor |
|
) |
| |
Filter the connection based on the source and destination of the first link-layer frame
- Parameters
-
| remoteAddr | Socket address of the remote outstation, e.g. 192.168.0.22:51532 |
| source | Source address from the frame |
| destination | Destination address from the frame |
| acceptor | Class used to handle the accept |
◆ Start()
| void dnp3.IConnectionHandler.Start |
( |
string |
remoteAddr, |
|
|
MasterChannel |
channel |
|
) |
| |
Start a communication session that was previously accepted using only the socket address
Warning: You must add associations and/or enable the channel from a different thread than this callback as those methods cannot be called on the Tokio runtime
- Parameters
-
| remoteAddr | Socket address of the remote outstation, e.g. 192.168.0.22:51532 |
| channel | Class used to control the channel |
◆ StartWithLinkId()
| void dnp3.IConnectionHandler.StartWithLinkId |
( |
string |
remoteAddr, |
|
|
ushort |
source, |
|
|
ushort |
destination, |
|
|
MasterChannel |
channel |
|
) |
| |
Start a communication session that was previously accepted using link identity information.
Warning: You must add associations and/or enable the channel from a different thread than this callback as those methods cannot be called on the Tokio runtime
- Parameters
-
| remoteAddr | Socket address of the remote outstation, e.g. 192.168.0.22:51532 |
| source | Source address from the frame |
| destination | Destination address from the frame |
| channel | Class used to control the channel |
The documentation for this interface was generated from the following file: