lib60870.NET 2.3.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
Loading...
Searching...
No Matches
lib60870.CS101.Slave Class Referenceabstract
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.
 
void SetCounterInterrogationHandler (CounterInterrogationHandler handler, object parameter)
 Sets a callback for counter interrogaton requests.
 
void SetReadHandler (ReadHandler handler, object parameter)
 Sets a callback for read requests.
 
void SetClockSynchronizationHandler (ClockSynchronizationHandler handler, object parameter)
 Sets a callback for the clock synchronization request.
 
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.
 
void SetFileReadyHandler (FileReadyHandler handler, object parameter)
 Sets a callback handler that is called when a file ready message is received from a master.
 
FilesAvailable GetAvailableFiles ()
 Gets the available files that are registered with the file server.
 

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
 
FilesAvailable filesAvailable = new FilesAvailable()
 

Properties

bool DebugOutput [get, set]
 
virtual int FileTimeout [get, set]
 Gets or sets the file service timeout.
 

Member Function Documentation

◆ GetAvailableFiles()

FilesAvailable lib60870.CS101.Slave.GetAvailableFiles ( )

Gets the available files that are registered with the file server.

Returns
The available files.

◆ 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

◆ SetFileReadyHandler()

void lib60870.CS101.Slave.SetFileReadyHandler ( FileReadyHandler handler,
object parameter )

Sets a callback handler that is called when a file ready message is received from a master.

Parameters
handlercallback function to be called
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

Property Documentation

◆ FileTimeout

virtual int lib60870.CS101.Slave.FileTimeout
getset

Gets or sets the file service timeout.

The file service timeout in ms


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