registerEvent

fun registerEvent(rule: JSONObject, className: String)

Registers an event in the event manager.

Parameters

rule

The JSON Object representing the rule as defined in the listener

className

Class name of the event