BroadcastNodeEvent
Note
1 | |
The BroadcastNodeEvent node intervention class broadcasts node events. This can be used with the campaign class, parameter-campaign-event-surveillanceeventcoordinator, that can monitor and listen for events received from BroadcastNodeEvent and then perform an action based on the broadcasted event. You can also use this for the reporting of the broadcasted events by setting the configuraton parameters, Report_Node_Event_Recorder and Report_Surveillance_Event_Recorder, which listen to events to be recorded. You must use this coordinator class with listeners that are operating on the same core. For more information, see dev-architecture-core.
Note
1 2 3 4 5 6 7 8 9 10 11 | |
The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.
| Parameter | Example | Description | Type | Min | Max | Default |
|---|---|---|---|---|---|---|
| Broadcast_Event | link | The name of the node event to broadcast. This event must be set in the Custom_Node_Events configuration parameter. | string | nan | nan | "" |
| Cost_To_Consumer | link | The unit cost of the intervention campaign that will be assigned to the specified nodes, as configured under Nodeset_Config. | float | 0 | 999999 | 0 |