Engage Engine API
1.244.9084
|
Defines parameters for advertising of an entity such as a known, public, group. More...
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Member Functions | |
void | clear () |
Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase | |
virtual void | initForDocumenting () |
virtual std::string | toString () |
virtual bool | isDocumenting () const |
Public Attributes | |
bool | enabled |
[Optional, Default: false] Enabled advertising | |
int | intervalMs |
[Optional, Default: 20000] Interval at which the advertisement should be sent in milliseconds. | |
bool | alwaysAdvertise |
[Optional, Default: false] If true, the node will advertise the item even if it detects other nodes making the same advertisement | |
Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
nlohmann::json | _attached |
Additional Inherited Members | |
Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
bool | _documenting |
Defines parameters for advertising of an entity such as a known, public, group.
Helper C++ class to serialize and de-serialize Advertising JSON
Example:
Definition at line 3863 of file ConfigurationObjects.h.
|
inline |
Definition at line 3878 of file ConfigurationObjects.h.
|
inline |
Definition at line 3883 of file ConfigurationObjects.h.
bool AppConfigurationObjects::Advertising::alwaysAdvertise |
[Optional, Default: false] If true, the node will advertise the item even if it detects other nodes making the same advertisement
Definition at line 3876 of file ConfigurationObjects.h.
bool AppConfigurationObjects::Advertising::enabled |
[Optional, Default: false] Enabled advertising
Definition at line 3870 of file ConfigurationObjects.h.
int AppConfigurationObjects::Advertising::intervalMs |
[Optional, Default: 20000] Interval at which the advertisement should be sent in milliseconds.
Definition at line 3873 of file ConfigurationObjects.h.