lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CS104.RedundancyGroup Class Reference

Representation of a redundancy group. A redundancy group is a group of connections that share a unique event queue. Only one connection in a redundancy group can be active. More...

Collaboration diagram for lib60870.CS104.RedundancyGroup:

Public Member Functions

 RedundancyGroup (string name)
 Initializes a new instance of the lib60870.CS104.RedundancyGroup class. More...
 
void AddAllowedClient (IPAddress ipAddress)
 Adds a client specified by the IP address More...
 
void AddAllowedClient (string ipString)
 Adds a client specified by the IP address More...
 
void EnqueueASDU (ASDU asdu)
 Enqueues the ASDU to the redundancy group specific message queue. This function is called by lib60870.CS104.Server.EnqueueASDU. If the Server.EnqueuASDU method is used this method should not be called! More...
 

Properties

string Name [get]
 Gets the name. More...
 
bool IsCatchAll [get]
 Gets a value indicating whether this instance is a catch all group. All clients that are not explicitely assigned to a specific group are handled by the catch all group. More...
 

Detailed Description

Representation of a redundancy group. A redundancy group is a group of connections that share a unique event queue. Only one connection in a redundancy group can be active.

Constructor & Destructor Documentation

◆ RedundancyGroup()

lib60870.CS104.RedundancyGroup.RedundancyGroup ( string  name)

Initializes a new instance of the lib60870.CS104.RedundancyGroup class.

Parameters
namean optional name for debugging purposes.

Member Function Documentation

◆ AddAllowedClient() [1/2]

void lib60870.CS104.RedundancyGroup.AddAllowedClient ( IPAddress  ipAddress)

Adds a client specified by the IP address

Parameters
ipAddressIP address of the client.

◆ AddAllowedClient() [2/2]

void lib60870.CS104.RedundancyGroup.AddAllowedClient ( string  ipString)

Adds a client specified by the IP address

Parameters
ipAddressIP address of the client.

◆ EnqueueASDU()

void lib60870.CS104.RedundancyGroup.EnqueueASDU ( ASDU  asdu)

Enqueues the ASDU to the redundancy group specific message queue. This function is called by lib60870.CS104.Server.EnqueueASDU. If the Server.EnqueuASDU method is used this method should not be called!

Parameters
asduThe ASDU to enqueue.

Property Documentation

◆ IsCatchAll

bool lib60870.CS104.RedundancyGroup.IsCatchAll
get

Gets a value indicating whether this instance is a catch all group. All clients that are not explicitely assigned to a specific group are handled by the catch all group.

true if this instance is a catch all group; otherwise, false.

◆ Name

string lib60870.CS104.RedundancyGroup.Name
get

Gets the name.

the name, or null if no name is set


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