lib60870.NET
2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
|
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] |
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.
handler | The ASDU callback function |
parameter | user provided parameter that is passed to the callback |
void lib60870.CS101.Slave.SetClockSynchronizationHandler | ( | ClockSynchronizationHandler | handler, |
object | parameter | ||
) |
Sets a callback for the clock synchronization request.
handler | The clock synchronization request handler callback function |
parameter | user provided parameter that is passed to the callback |
void lib60870.CS101.Slave.SetCounterInterrogationHandler | ( | CounterInterrogationHandler | handler, |
object | parameter | ||
) |
Sets a callback for counter interrogaton requests.
handler | The counter interrogation request handler callback function |
parameter | user provided parameter that is passed to the callback |
void lib60870.CS101.Slave.SetInterrogationHandler | ( | InterrogationHandler | handler, |
object | parameter | ||
) |
Sets a callback for interrogaton requests.
handler | The interrogation request handler callback function |
parameter | user provided parameter that is passed to the callback |
void lib60870.CS101.Slave.SetReadHandler | ( | ReadHandler | handler, |
object | parameter | ||
) |
Sets a callback for read requests.
handler | The read request handler callback function |
parameter | user provided parameter that is passed to the callback |