dnp3 (.NET API) 1.6.0
Loading...
Searching...
No Matches
dnp3.MasterServer Class Reference

Class with methods used to spawn servers More...

Inherits IDisposable.

Public Member Functions

void Dispose ()
 Shutdown down the server More...
 

Static Public Member Functions

static MasterServer CreateTcpServer (Runtime runtime, string localAddr, LinkIdConfig linkIdConfig, IConnectionHandler connectionHandler)
 Spawn a TCP server that accepts connections from outstations More...
 

Detailed Description

Class with methods used to spawn servers

Member Function Documentation

◆ CreateTcpServer()

static MasterServer dnp3.MasterServer.CreateTcpServer ( Runtime  runtime,
string  localAddr,
LinkIdConfig  linkIdConfig,
IConnectionHandler  connectionHandler 
)
inlinestatic

Spawn a TCP server that accepts connections from outstations

The behavior of each connection is controlled by callbacks to a user-defined implementation of a IConnectionHandler.

Parameters
runtimeRuntime on which to spawn the server
localAddrLocal address on which the server will accept connections
linkIdConfigConfiguration used when identifying outstations based on received link-frames
connectionHandlerCallbacks used to accept and start communication sessions
Returns
Handle to the running server that allows it to be shut down
Exceptions
ParamException

◆ Dispose()

void dnp3.MasterServer.Dispose ( )
inline

Shutdown down the server


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