Agg_fire_instant_event()

Description:

API procedure, generates an instant A-event and sends it directly to the AggreGate server.

Syntax:

sub agg_fire_instant_event(byref context_name as string, byref event_name as string, byref event_string as string, event_level as en_agg_event_levels)

Returns:

---

See Also:

Firing Instant A-events


Parameter

Description

context_name

Always set this to "root."

event_name

Name of the instant A-event, must match one of the A-events you've defined through the configurator.

event_string

The encoded string containing the values of the A-event's arguments. Use agg_record_encode() to prepare. Use agg_record_encode() to prepare.

event_level

A-event level as defined by the en_agg_event_levels enum. If you set this to EN_AGG_EVENT_LEVEL_USE_DEFAULT then the event level defined through the configurator will be used. Specifying any other event level will override the default level specified in the configurator.