lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CS101.Slave Class Reference
Inheritance diagram for lib60870.CS101.Slave:
Collaboration diagram for lib60870.CS101.Slave:

Public Member Functions

void SetInterrogationHandler (InterrogationHandler handler, object parameter)
 Sets a callback for interrogaton requests. More...
 
void SetCounterInterrogationHandler (CounterInterrogationHandler handler, object parameter)
 Sets a callback for counter interrogaton requests. More...
 
void SetReadHandler (ReadHandler handler, object parameter)
 Sets a callback for read requests. More...
 
void SetClockSynchronizationHandler (ClockSynchronizationHandler handler, object parameter)
 Sets a callback for the clock synchronization request. More...
 
void SetResetProcessHandler (ResetProcessHandler handler, object parameter)
 
void SetDelayAcquisitionHandler (DelayAcquisitionHandler handler, object parameter)
 
void SetASDUHandler (ASDUHandler handler, object parameter)
 Sets a callback to handle ASDUs (commands, requests) form clients. This callback can be used when no other callback handles the message from the client/master. More...
 
void SetFileReadyHandler (FileReadyHandler handler, object parameter)
 
FilesAvailable GetAvailableFiles ()
 

Public Attributes

InterrogationHandler interrogationHandler = null
 
object InterrogationHandlerParameter = null
 
CounterInterrogationHandler counterInterrogationHandler = null
 
object counterInterrogationHandlerParameter = null
 
ReadHandler readHandler = null
 
object readHandlerParameter = null
 
ClockSynchronizationHandler clockSynchronizationHandler = null
 
object clockSynchronizationHandlerParameter = null
 
ResetProcessHandler resetProcessHandler = null
 
object resetProcessHandlerParameter = null
 
DelayAcquisitionHandler delayAcquisitionHandler = null
 
object delayAcquisitionHandlerParameter = null
 
ASDUHandler asduHandler = null
 
object asduHandlerParameter = null
 

Protected Attributes

bool debugOutput
 
FileReadyHandler fileReadyHandler = null
 
object fileReadyHandlerParameter = null
 
FilesAvailable filesAvailable = new FilesAvailable()
 

Properties

bool DebugOutput [get, set]
 

Member Function Documentation

◆ SetASDUHandler()

void lib60870.CS101.Slave.SetASDUHandler ( ASDUHandler  handler,
object  parameter 
)

Sets a callback to handle ASDUs (commands, requests) form clients. This callback can be used when no other callback handles the message from the client/master.

Parameters
handlerThe ASDU callback function
parameteruser provided parameter that is passed to the callback

◆ SetClockSynchronizationHandler()

void lib60870.CS101.Slave.SetClockSynchronizationHandler ( ClockSynchronizationHandler  handler,
object  parameter 
)

Sets a callback for the clock synchronization request.

Parameters
handlerThe clock synchronization request handler callback function
parameteruser provided parameter that is passed to the callback

◆ SetCounterInterrogationHandler()

void lib60870.CS101.Slave.SetCounterInterrogationHandler ( CounterInterrogationHandler  handler,
object  parameter 
)

Sets a callback for counter interrogaton requests.

Parameters
handlerThe counter interrogation request handler callback function
parameteruser provided parameter that is passed to the callback

◆ SetInterrogationHandler()

void lib60870.CS101.Slave.SetInterrogationHandler ( InterrogationHandler  handler,
object  parameter 
)

Sets a callback for interrogaton requests.

Parameters
handlerThe interrogation request handler callback function
parameteruser provided parameter that is passed to the callback

◆ SetReadHandler()

void lib60870.CS101.Slave.SetReadHandler ( ReadHandler  handler,
object  parameter 
)

Sets a callback for read requests.

Parameters
handlerThe read request handler callback function
parameteruser provided parameter that is passed to the callback

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