subscribe

fun subscribe(className: String, callbackObject: EventHandler, uuid: String)

Subscribes an event handler for an event class name.

Parameters

className

Class name of the events to listen to

callbackObject

Instance which needs to be called when the event occurs

uuid

UUID of the listener