engage-engine 1.246.90860015 → 1.249.90890017

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.
@@ -571,6 +571,12 @@ namespace AppConfigurationObjects
571
571
  /** @brief [Optional, Default false] If true, requests the crypto engine module to run in debugging mode. */
572
572
  bool debug;
573
573
 
574
+ /** @brief [Optional] Specifies the NIST-approved curves to be used for FIPS */
575
+ std::string curves;
576
+
577
+ /** @brief [Optional] Specifies the NIST-approved ciphers to be used for FIPS */
578
+ std::string ciphers;
579
+
574
580
  FipsCryptoSettings()
575
581
  {
576
582
  clear();
@@ -581,6 +587,8 @@ namespace AppConfigurationObjects
581
587
  enabled = false;
582
588
  path.clear();
583
589
  debug = false;
590
+ curves.clear();
591
+ ciphers.clear();
584
592
  }
585
593
 
586
594
  virtual void initForDocumenting()
@@ -594,7 +602,9 @@ namespace AppConfigurationObjects
594
602
  j = nlohmann::json{
595
603
  TOJSON_IMPL(enabled),
596
604
  TOJSON_IMPL(path),
597
- TOJSON_IMPL(debug)
605
+ TOJSON_IMPL(debug),
606
+ TOJSON_IMPL(curves),
607
+ TOJSON_IMPL(ciphers)
598
608
  };
599
609
  }
600
610
  static void from_json(const nlohmann::json& j, FipsCryptoSettings& p)
@@ -603,6 +613,8 @@ namespace AppConfigurationObjects
603
613
  FROMJSON_IMPL_SIMPLE(enabled);
604
614
  FROMJSON_IMPL_SIMPLE(path);
605
615
  FROMJSON_IMPL_SIMPLE(debug);
616
+ FROMJSON_IMPL_SIMPLE(curves);
617
+ FROMJSON_IMPL_SIMPLE(ciphers);
606
618
  }
607
619
 
608
620
 
@@ -8081,14 +8093,12 @@ namespace AppConfigurationObjects
8081
8093
  /** @brief Enables IGMP. Default is false. */
8082
8094
  bool enabled;
8083
8095
 
8084
- /** @brief TODO */
8096
+ /** @brief [Optional, Default 125000] Interval between sending IGMP membership queries. If 0, no queries are sent. */
8085
8097
  int queryIntervalMs;
8086
8098
 
8087
- /** @brief TODO */
8088
- int lastMemberQueryIntervalMs;
8099
+ /** @brief [Optional, Default 0] Typically calculated according to RFC specifications. Set a value here to manually force (or delay) timeouts. */
8100
+ int subscriptionTimeoutMs;
8089
8101
 
8090
- /** @brief TODO */
8091
- int lastMemberQueryCount;
8092
8102
 
8093
8103
  IgmpSnooping()
8094
8104
  {
@@ -8098,9 +8108,8 @@ namespace AppConfigurationObjects
8098
8108
  void clear()
8099
8109
  {
8100
8110
  enabled = false;
8101
- queryIntervalMs = 60000;
8102
- lastMemberQueryIntervalMs = 1000;
8103
- lastMemberQueryCount = 1;
8111
+ queryIntervalMs = 125000;
8112
+ subscriptionTimeoutMs = 0;
8104
8113
  }
8105
8114
  };
8106
8115
 
@@ -8109,17 +8118,15 @@ namespace AppConfigurationObjects
8109
8118
  j = nlohmann::json{
8110
8119
  TOJSON_IMPL(enabled),
8111
8120
  TOJSON_IMPL(queryIntervalMs),
8112
- TOJSON_IMPL(lastMemberQueryIntervalMs),
8113
- TOJSON_IMPL(lastMemberQueryCount)
8121
+ TOJSON_IMPL(subscriptionTimeoutMs)
8114
8122
  };
8115
8123
  }
8116
8124
  static void from_json(const nlohmann::json& j, IgmpSnooping& p)
8117
8125
  {
8118
8126
  p.clear();
8119
8127
  getOptional<bool>("enabled", p.enabled, j);
8120
- getOptional<int>("queryIntervalMs", p.queryIntervalMs, j, 60000);
8121
- getOptional<int>("lastMemberQueryIntervalMs", p.lastMemberQueryIntervalMs, j, 1000);
8122
- getOptional<int>("lastMemberQueryCount", p.lastMemberQueryCount, j, 1);
8128
+ getOptional<int>("queryIntervalMs", p.queryIntervalMs, j, 125000);
8129
+ getOptional<int>("subscriptionTimeoutMs", p.subscriptionTimeoutMs, j, 0);
8123
8130
  }
8124
8131
 
8125
8132
 
@@ -10408,6 +10415,9 @@ namespace AppConfigurationObjects
10408
10415
  /** @brief Milliseconds until next connection attempt */
10409
10416
  uint64_t msToNextConnectionAttempt;
10410
10417
 
10418
+ /** @brief Server processing time in milliseconds - used for roundtrip reports */
10419
+ float serverProcessingMs;
10420
+
10411
10421
  RallypointConnectionDetail()
10412
10422
  {
10413
10423
  clear();
@@ -10419,6 +10429,7 @@ namespace AppConfigurationObjects
10419
10429
  host.clear();
10420
10430
  port = 0;
10421
10431
  msToNextConnectionAttempt = 0;
10432
+ serverProcessingMs = -1.0f;
10422
10433
  }
10423
10434
  };
10424
10435
 
@@ -10434,6 +10445,11 @@ namespace AppConfigurationObjects
10434
10445
  {
10435
10446
  j["msToNextConnectionAttempt"] = p.msToNextConnectionAttempt;
10436
10447
  }
10448
+
10449
+ if(p.serverProcessingMs >= 0.0)
10450
+ {
10451
+ j["serverProcessingMs"] = p.serverProcessingMs;
10452
+ }
10437
10453
  }
10438
10454
  static void from_json(const nlohmann::json& j, RallypointConnectionDetail& p)
10439
10455
  {
@@ -10442,6 +10458,7 @@ namespace AppConfigurationObjects
10442
10458
  getOptional<std::string>("host", p.host, j, EMPTY_STRING);
10443
10459
  getOptional<int>("port", p.port, j, 0);
10444
10460
  getOptional<uint64_t>("msToNextConnectionAttempt", p.msToNextConnectionAttempt, j, 0);
10461
+ getOptional<float>("serverProcessingMs", p.serverProcessingMs, j, -1.0);
10445
10462
  }
10446
10463
 
10447
10464
  //-----------------------------------------------------------
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.246.90860015",
3
+ "version": "1.249.90890017",
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"