lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.linklayer Namespace Reference

Classes

interface  IPrimaryLinkLayerCallbacks
 
interface  IPrimaryLinkLayerUnbalanced
 
interface  ISecondaryApplicationLayer
 
class  LinkLayer
 
class  LinkLayerBusyException
 
class  LinkLayerParameters
 Link layer specific parameters. More...
 
class  PrimaryLinkLayer
 
class  PrimaryLinkLayerBalanced
 
class  PrimaryLinkLayerUnbalanced
 
class  SecondaryLinkLayer
 
class  SecondaryLinkLayerBalanced
 
class  SecondaryLinkLayerUnbalanced
 
class  SerialTransceiverFT12
 Serial transceiver for FT 1.2 type frames
 
class  TcpClientVirtualSerialPort
 TCP client virtual serial port. Can be used to tunnel CS 101 protocol over TCP/IP. More...
 
class  TcpServerVirtualSerialPort
 

Enumerations

enum  LinkLayerState { IDLE, ERROR, BUSY, AVAILABLE }
 
enum  LinkLayerMode { UNBALANCED, BALANCED }
 

Functions

delegate void LinkLayerStateChanged (object parameter, int address, LinkLayerState newState)
 Will be called by the stack when the state of a link layer connection changes More...
 
delegate bool TcpConnectionEventHandler (object parameter, IPAddress ipAddress, bool connect)
 Connection event handler. Can be used to track connections and accept/deny specific clients. More...
 

Function Documentation

◆ LinkLayerStateChanged()

delegate void lib60870.linklayer.LinkLayerStateChanged ( object  parameter,
int  address,
LinkLayerState  newState 
)

Will be called by the stack when the state of a link layer connection changes

Parameters
addressAddress of the slave (only used for unbalanced master mode)

◆ TcpConnectionEventHandler()

delegate bool lib60870.linklayer.TcpConnectionEventHandler ( object  parameter,
IPAddress  ipAddress,
bool  connect 
)

Connection event handler. Can be used to track connections and accept/deny specific clients.

Parameters
parameterUser provided paramter
ipAddressIP address of the client
connecttrue when client is connecting, false when disconnected
Returns
true when connection is accepted, false otherwise