@@ -49,7 +49,8 @@ CLUSTERER Module
49
49
1.5.2. cluster_send_rpl(cluster_id, dst_id, msg,
50
50
tag)
51
51
52
- 1.5.3. cluster_broadcast_req(cluster_id, msg, [tag])
52
+ 1.5.3. cluster_broadcast_req(cluster_id, msg, [tag],
53
+ [include_self])
53
54
54
55
1.5.4. cluster_check_addr(cluster_id, ip, addr_type)
55
56
@@ -700,11 +701,14 @@ param(tag));
700
701
}
701
702
...
702
703
703
- 1.5.3. cluster_broadcast_req(cluster_id, msg, [tag])
704
+ 1.5.3. cluster_broadcast_req(cluster_id, msg, [tag], [include_self] )
704
705
705
706
This function has a similar behaviour to the cluster_send_req()
706
707
function with the exception that the message is sent to all the
707
708
nodes in the specified cluster.
709
+ * include_self (bool, optional, default: false) - raise the
710
+ event for current node as well, but without actually
711
+ sending a packet (both req and rpl).
708
712
709
713
The function can return the following values:
710
714
* 1 - successfully sent message to at least one node;
@@ -722,7 +726,8 @@ param(tag));
722
726
723
727
Example 1.29. cluster_broadcast_req() usage
724
728
...
725
- cluster_broadcast_req($var(cl_id), $var(share_data));
729
+ # also raise the event for current node
730
+ cluster_broadcast_req($var(cl_id), $var(share_data), , true);
726
731
...
727
732
728
733
1.5.4. cluster_check_addr(cluster_id, ip, addr_type)
@@ -1449,7 +1454,7 @@ Chapter 3. Contributors
1449
1454
commits^(2) and lines added/removed^(3)
1450
1455
Name DevScore Commits Lines ++ Lines --
1451
1456
1. Vlad Patrascu (@rvlad-patrascu) 364 135 13387 7101
1452
- 2. Liviu Chircu (@liviuchircu) 68 52 801 522
1457
+ 2. Liviu Chircu (@liviuchircu) 70 53 848 532
1453
1458
3. Eseanu Marius Cristian (@eseanucristian) 46 10 3142 534
1454
1459
4. Bogdan-Andrei Iancu (@bogdan-iancu) 31 16 1342 128
1455
1460
5. Razvan Crainea (@razvancrainea) 27 21 327 148
@@ -1482,7 +1487,7 @@ Chapter 3. Contributors
1482
1487
1483
1488
Table 3.2. Most recently active contributors^(1) to this module
1484
1489
Name Commit Activity
1485
- 1. Liviu Chircu (@liviuchircu) Mar 2016 - Dec 2024
1490
+ 1. Liviu Chircu (@liviuchircu) Mar 2016 - Feb 2025
1486
1491
2. Razvan Crainea (@razvancrainea) Nov 2015 - Sep 2024
1487
1492
3. Alexandra Titoc Sep 2024 - Sep 2024
1488
1493
4. Bogdan-Andrei Iancu (@bogdan-iancu) Apr 2016 - Sep 2024
0 commit comments