engage-engine 1.250.90900018 → 1.251.90910019

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2827,9 +2827,9 @@ namespace AppConfigurationObjects
2827
2827
  certificateKey.clear();
2828
2828
  caCertificates.clear();
2829
2829
  verifyPeer = false;
2830
- transactionTimeoutMs = 5000;
2830
+ transactionTimeoutMs = 0;
2831
2831
  disableMessageSigning = false;
2832
- connectionTimeoutSecs = 5;
2832
+ connectionTimeoutSecs = 0;
2833
2833
  tcpTxOptions.clear();
2834
2834
  }
2835
2835
 
@@ -2923,9 +2923,9 @@ namespace AppConfigurationObjects
2923
2923
  getOptional<bool>("verifyPeer", p.verifyPeer, j, true);
2924
2924
  getOptional<bool>("allowSelfSignedCertificate", p.allowSelfSignedCertificate, j, false);
2925
2925
  getOptional<std::vector<std::string>>("caCertificates", p.caCertificates, j);
2926
- getOptional<int>("transactionTimeoutMs", p.transactionTimeoutMs, j, 5000);
2926
+ getOptional<int>("transactionTimeoutMs", p.transactionTimeoutMs, j, 0);
2927
2927
  getOptional<bool>("disableMessageSigning", p.disableMessageSigning, j, false);
2928
- getOptional<int>("connectionTimeoutSecs", p.connectionTimeoutSecs, j, 5);
2928
+ getOptional<int>("connectionTimeoutSecs", p.connectionTimeoutSecs, j, 0);
2929
2929
  getOptional<TcpNetworkTxOptions>("tcpTxOptions", p.tcpTxOptions, j);
2930
2930
  }
2931
2931
 
@@ -2973,6 +2973,9 @@ namespace AppConfigurationObjects
2973
2973
  /** @brief [Optional, Default: 0] Default connection timeout in seconds to any RP in the cluster */
2974
2974
  int connectionTimeoutSecs;
2975
2975
 
2976
+ /** @brief [Optional, Default: 0] Default transaction time in milliseconds to any RP in the cluster */
2977
+ int transactionTimeoutMs;
2978
+
2976
2979
  RallypointCluster()
2977
2980
  {
2978
2981
  clear();
@@ -2983,7 +2986,8 @@ namespace AppConfigurationObjects
2983
2986
  connectionStrategy = csRoundRobin;
2984
2987
  rallypoints.clear();
2985
2988
  rolloverSecs = 10;
2986
- connectionTimeoutSecs = 5;
2989
+ connectionTimeoutSecs = 0;
2990
+ transactionTimeoutMs = 0;
2987
2991
  }
2988
2992
  };
2989
2993
 
@@ -2993,7 +2997,8 @@ namespace AppConfigurationObjects
2993
2997
  TOJSON_IMPL(connectionStrategy),
2994
2998
  TOJSON_IMPL(rallypoints),
2995
2999
  TOJSON_IMPL(rolloverSecs),
2996
- TOJSON_IMPL(connectionTimeoutSecs)
3000
+ TOJSON_IMPL(connectionTimeoutSecs),
3001
+ TOJSON_IMPL(transactionTimeoutMs)
2997
3002
  };
2998
3003
  }
2999
3004
  static void from_json(const nlohmann::json& j, RallypointCluster& p)
@@ -3002,7 +3007,8 @@ namespace AppConfigurationObjects
3002
3007
  getOptional<RallypointCluster::ConnectionStrategy_t>("connectionStrategy", p.connectionStrategy, RallypointCluster::ConnectionStrategy_t::csRoundRobin);
3003
3008
  getOptional<std::vector<Rallypoint>>("rallypoints", p.rallypoints, j);
3004
3009
  getOptional<int>("rolloverSecs", p.rolloverSecs, j, 10);
3005
- getOptional<int>("connectionTimeoutSecs", p.connectionTimeoutSecs, j, 5);
3010
+ getOptional<int>("connectionTimeoutSecs", p.connectionTimeoutSecs, j, 0);
3011
+ getOptional<int>("transactionTimeoutMs", p.connectionTimeoutSecs, j, 0);
3006
3012
  }
3007
3013
 
3008
3014
 
@@ -6896,6 +6902,9 @@ namespace AppConfigurationObjects
6896
6902
  /** @brief [Optional, Default: 5] Connection timeout in seconds to RP */
6897
6903
  int rpConnectionTimeoutSecs;
6898
6904
 
6905
+ /** @brief [Optional, Default: 5] Transaction timeout with RP */
6906
+ int rpTransactionTimeoutMs;
6907
+
6899
6908
  /** @brief [Optional, Default: 10] The number of seconds after which "sticky" transmission IDs expire. */
6900
6909
  int stickyTidHangSecs;
6901
6910
 
@@ -6921,7 +6930,8 @@ namespace AppConfigurationObjects
6921
6930
  rpClusterStrategy = RallypointCluster::ConnectionStrategy_t::csRoundRobin;
6922
6931
  rpClusterRolloverSecs = 10;
6923
6932
  rtpExpirationCheckIntervalMs = 250;
6924
- rpConnectionTimeoutSecs = 5;
6933
+ rpConnectionTimeoutSecs = 0;
6934
+ rpTransactionTimeoutMs = 0;
6925
6935
  stickyTidHangSecs = 10;
6926
6936
  uriStreamingIntervalMs = 60;
6927
6937
  delayedMicrophoneClosureSecs = 15;
@@ -6942,6 +6952,7 @@ namespace AppConfigurationObjects
6942
6952
  TOJSON_IMPL(rpClusterRolloverSecs),
6943
6953
  TOJSON_IMPL(rtpExpirationCheckIntervalMs),
6944
6954
  TOJSON_IMPL(rpConnectionTimeoutSecs),
6955
+ TOJSON_IMPL(rpTransactionTimeoutMs),
6945
6956
  TOJSON_IMPL(stickyTidHangSecs),
6946
6957
  TOJSON_IMPL(uriStreamingIntervalMs),
6947
6958
  TOJSON_IMPL(delayedMicrophoneClosureSecs),
@@ -6960,7 +6971,8 @@ namespace AppConfigurationObjects
6960
6971
  getOptional<RallypointCluster::ConnectionStrategy_t>("rpClusterStrategy", p.rpClusterStrategy, j, RallypointCluster::ConnectionStrategy_t::csRoundRobin);
6961
6972
  getOptional<int>("rpClusterRolloverSecs", p.rpClusterRolloverSecs, j, 10);
6962
6973
  getOptional<int>("rtpExpirationCheckIntervalMs", p.rtpExpirationCheckIntervalMs, j, 250);
6963
- getOptional<int>("rpConnectionTimeoutSecs", p.rpConnectionTimeoutSecs, j, 5);
6974
+ getOptional<int>("rpConnectionTimeoutSecs", p.rpConnectionTimeoutSecs, j, 0);
6975
+ getOptional<int>("rpTransactionTimeoutMs", p.rpTransactionTimeoutMs, j, 0);
6964
6976
  getOptional<int>("stickyTidHangSecs", p.stickyTidHangSecs, j, 10);
6965
6977
  getOptional<int>("uriStreamingIntervalMs", p.uriStreamingIntervalMs, j, 60);
6966
6978
  getOptional<int>("delayedMicrophoneClosureSecs", p.delayedMicrophoneClosureSecs, j, 15);
@@ -7611,6 +7623,18 @@ namespace AppConfigurationObjects
7611
7623
  IMPLEMENT_JSON_DOCUMENTATION(RallypointPeer)
7612
7624
 
7613
7625
  public:
7626
+ typedef enum
7627
+ {
7628
+ /** @brief Use the RP's configuration */
7629
+ olpUseRpConfiguration = 0,
7630
+
7631
+ /** @brief Mark as a domain leaf */
7632
+ olpIsMeshLeaf = 1,
7633
+
7634
+ /** @brief Do not mark as a domain leaf */
7635
+ olpNotMeshLeaf = 2
7636
+ } OutboundLeafPolicy_t;
7637
+
7614
7638
  /** @brief Internal ID. */
7615
7639
  std::string id;
7616
7640
 
@@ -7629,6 +7653,8 @@ namespace AppConfigurationObjects
7629
7653
  /** @brief Internal enablement setting. */
7630
7654
  bool forceIsMeshLeaf;
7631
7655
 
7656
+ OutboundLeafPolicy_t outboundLeafPolicy;
7657
+
7632
7658
  RallypointPeer()
7633
7659
  {
7634
7660
  clear();
@@ -7642,6 +7668,7 @@ namespace AppConfigurationObjects
7642
7668
  certificate.clear();
7643
7669
  connectionTimeoutSecs = 0;
7644
7670
  forceIsMeshLeaf = false;
7671
+ outboundLeafPolicy = OutboundLeafPolicy_t::olpUseRpConfiguration;
7645
7672
  }
7646
7673
  };
7647
7674
 
@@ -7653,7 +7680,8 @@ namespace AppConfigurationObjects
7653
7680
  TOJSON_IMPL(host),
7654
7681
  TOJSON_IMPL(certificate),
7655
7682
  TOJSON_IMPL(connectionTimeoutSecs),
7656
- TOJSON_IMPL(forceIsMeshLeaf)
7683
+ TOJSON_IMPL(forceIsMeshLeaf),
7684
+ TOJSON_IMPL(outboundLeafPolicy)
7657
7685
  };
7658
7686
  }
7659
7687
  static void from_json(const nlohmann::json& j, RallypointPeer& p)
@@ -7665,6 +7693,7 @@ namespace AppConfigurationObjects
7665
7693
  getOptional<SecurityCertificate>("certificate", p.certificate, j);
7666
7694
  getOptional<int>("connectionTimeoutSecs", p.connectionTimeoutSecs, j, 0);
7667
7695
  getOptional<bool>("forceIsMeshLeaf", p.forceIsMeshLeaf, j, false);
7696
+ getOptional<RallypointPeer::OutboundLeafPolicy_t>("outboundLeafPolicy", p.outboundLeafPolicy, j, RallypointPeer::OutboundLeafPolicy_t::olpUseRpConfiguration);
7668
7697
  }
7669
7698
 
7670
7699
  //-----------------------------------------------------------
@@ -8077,10 +8106,10 @@ namespace AppConfigurationObjects
8077
8106
 
8078
8107
  public:
8079
8108
 
8080
- /** @brief An identifier useful for organizations that track different mesh configurations by ID */
8109
+ /** @brief An identifier useful for organizations that track different domain configurations by ID */
8081
8110
  std::string id;
8082
8111
 
8083
- /** @brief TODO: A version number for the mesh configuration. Change this whenever you update your configuration */
8112
+ /** @brief TODO: A version number for the domain configuration. Change this whenever you update your configuration */
8084
8113
  int version;
8085
8114
 
8086
8115
  /** @brief Comments */
@@ -8746,7 +8775,7 @@ namespace AppConfigurationObjects
8746
8775
  /** @brief Internal - not serialized. */
8747
8776
  PeeringConfiguration peeringConfiguration; // NOTE: This is NOT serialized
8748
8777
 
8749
- /** @brief Indicates whether this Rallypoint is part of a core mesh or hangs off the periphery as a leaf node. */
8778
+ /** @brief Indicates whether this Rallypoint is part of a core domain or hangs off the periphery as a leaf node. */
8750
8779
  bool isMeshLeaf;
8751
8780
 
8752
8781
  /** @brief Set to true to forgo DSA signing of messages. Doing so is is a security risk but can be useful on CPU-constrained systems on already-secure environments. */
@@ -8800,7 +8829,7 @@ namespace AppConfigurationObjects
8800
8829
  /** @brief [Optional, Default 0] Sets the queue's normal task bias */
8801
8830
  uint32_t normalTaskQueueBias;
8802
8831
 
8803
- /** @brief If enabled, causes a mesh leaf to reverse-subscribe to a core node upon the core subscribing and a reflector having been setup */
8832
+ /** @brief If enabled, causes a domain leaf to reverse-subscribe to a core node upon the core subscribing and a reflector having been setup */
8804
8833
  bool enableLeafReflectionReverseSubscription;
8805
8834
 
8806
8835
  /** @brief If true, turns off loop detection. */
@@ -8836,11 +8865,17 @@ namespace AppConfigurationObjects
8836
8865
  /** @brief Details for capture of transmitted packets */
8837
8866
  PacketCapturer txCapture;
8838
8867
 
8839
- /** @brief [Optional] This Rallypoint's mesh name */
8840
- std::string meshName;
8868
+ /** @brief [Optional] This Rallypoint's domain name */
8869
+ std::string domainName;
8870
+
8871
+ /** @brief [Optional] List of domains that explicitly MAY connect to this RP */
8872
+ std::vector<std::string> allowedDomains;
8873
+
8874
+ /** @brief [Optional] List of domains that explictly MAY NOT connect to this RP */
8875
+ std::vector<std::string> blockedDomains;
8841
8876
 
8842
- /** @brief [Optional] List of additional meshes that can be reached via this RP */
8843
- std::vector<std::string> extraMeshes;
8877
+ /** @brief [Optional] List of additional domains that can be reached via this RP */
8878
+ std::vector<std::string> extraDomains;
8844
8879
 
8845
8880
  /** @brief [Optional] Low-level tuning */
8846
8881
  TuningSettings tuning;
@@ -8902,11 +8937,13 @@ namespace AppConfigurationObjects
8902
8937
  advertising.clear();
8903
8938
  extendedGroupRestrictions.clear();
8904
8939
  groupRestrictionAccessPolicyType = GroupRestrictionAccessPolicyType_t::graptPermissive;
8905
- ipFamily = IpFamilyType_t::ifIpUnspec;
8940
+ ipFamily = IpFamilyType_t::ifIp4;
8906
8941
  rxCapture.clear();
8907
8942
  txCapture.clear();
8908
- meshName.clear();
8909
- extraMeshes.clear();
8943
+ domainName.clear();
8944
+ allowedDomains.clear();
8945
+ blockedDomains.clear();
8946
+ extraDomains.clear();
8910
8947
  tuning.clear();
8911
8948
  }
8912
8949
  };
@@ -8967,8 +9004,10 @@ namespace AppConfigurationObjects
8967
9004
  TOJSON_IMPL(ipFamily),
8968
9005
  TOJSON_IMPL(rxCapture),
8969
9006
  TOJSON_IMPL(txCapture),
8970
- TOJSON_IMPL(meshName),
8971
- TOJSON_IMPL(extraMeshes),
9007
+ TOJSON_IMPL(domainName),
9008
+ TOJSON_IMPL(allowedDomains),
9009
+ TOJSON_IMPL(blockedDomains),
9010
+ TOJSON_IMPL(extraDomains),
8972
9011
  TOJSON_IMPL(tuning)
8973
9012
  };
8974
9013
  }
@@ -9025,11 +9064,13 @@ namespace AppConfigurationObjects
9025
9064
  getOptional<RallypointAdvertisingSettings>("advertising", p.advertising, j);
9026
9065
  getOptional<std::vector<RallypointExtendedGroupRestriction>>("extendedGroupRestrictions", p.extendedGroupRestrictions, j);
9027
9066
  getOptional<GroupRestrictionAccessPolicyType_t>("groupRestrictionAccessPolicyType", p.groupRestrictionAccessPolicyType, j, GroupRestrictionAccessPolicyType_t::graptPermissive);
9028
- getOptional<IpFamilyType_t>("ipFamily", p.ipFamily, j, IpFamilyType_t::ifIpUnspec);
9067
+ getOptional<IpFamilyType_t>("ipFamily", p.ipFamily, j, IpFamilyType_t::ifIp4);
9029
9068
  getOptional<PacketCapturer>("rxCapture", p.rxCapture, j);
9030
9069
  getOptional<PacketCapturer>("txCapture", p.txCapture, j);
9031
- getOptional<std::string>("meshName", p.meshName, j);
9032
- getOptional<std::vector<std::string>>("extraMeshes", p.extraMeshes, j);
9070
+ getOptional<std::string>("domainName", p.domainName, j);
9071
+ getOptional<std::vector<std::string>>("allowedDomains", p.allowedDomains, j);
9072
+ getOptional<std::vector<std::string>>("blockedDomains", p.blockedDomains, j);
9073
+ getOptional<std::vector<std::string>>("extraDomains", p.extraDomains, j);
9033
9074
  getOptional<TuningSettings>("tuning", p.tuning, j);
9034
9075
  }
9035
9076
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engage-engine",
3
- "version": "1.250.90900018",
3
+ "version": "1.251.90910019",
4
4
  "description": "Use Engage to communicate with everyone, everywhere, from any device",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"