@@ -371,16 +371,30 @@ public RedundancyGroup()
371371 {
372372 }
373373
374+ /// <summary>
375+ /// Initializes a new instance of the <see cref="lib60870.CS104.RedundancyGroup"/> class.
376+ /// </summary>
377+ /// <param name="name">an optional name for debugging purposes.</param>
374378 public RedundancyGroup ( string name )
375379 {
376380 this . name = name ;
377381 }
378382
383+ /// <summary>
384+ /// Gets the name.
385+ /// </summary>
386+ /// <value>the name, or null if no name is set</value>
379387 public string Name
380388 {
381389 get { return name ; }
382390 }
383391
392+ /// <summary>
393+ /// Gets a value indicating whether this instance is a catch all group.
394+ /// All clients that are not explicitely assigned to a specific group are handled
395+ /// by the catch all group.
396+ /// </summary>
397+ /// <value><c>true</c> if this instance is a catch all group; otherwise, <c>false</c>.</value>
384398 public bool IsCatchAll
385399 {
386400 get
@@ -392,6 +406,10 @@ public bool IsCatchAll
392406 }
393407 }
394408
409+ /// <summary>
410+ /// Adds a client specified by the IP address
411+ /// </summary>
412+ /// <param name="ipAddress">IP address of the client.</param>
395413 public void AddAllowedClient ( IPAddress ipAddress )
396414 {
397415 if ( AllowedClients == null )
@@ -400,6 +418,10 @@ public void AddAllowedClient(IPAddress ipAddress)
400418 AllowedClients . Add ( ipAddress ) ;
401419 }
402420
421+ /// <summary>
422+ /// Adds a client specified by the IP address
423+ /// </summary>
424+ /// <param name="ipAddress">IP address of the client.</param>
403425 public void AddAllowedClient ( string ipString )
404426 {
405427 IPAddress ipAddress = IPAddress . Parse ( ipString ) ;
@@ -470,6 +492,12 @@ internal void Activate(ClientConnection activeConnection)
470492 }
471493 }
472494
495+ /// <summary>
496+ /// Enqueues the ASDU to the redundancy group specific message queue.
497+ /// This function is called by <see cref="lib60870.CS104.Server.EnqueueASDU"/>. If the Server.EnqueuASDU method
498+ /// is used this method should not be called!
499+ /// </summary>
500+ /// <param name="asdu">The ASDU to enqueue.</param>
473501 public void EnqueueASDU ( ASDU asdu )
474502 {
475503 if ( asduQueue != null )
0 commit comments