respond

abstract fun respond(properties: Map<String, Any>)

Respond to a request. Should be placed within an EventListener and via some means (e.g. the token of an InvocationContainer) know which Request Listener to respond to.

Parameters

properties

abstract fun respond(event: Event)

Respond to a request. Should be called within an EventListener and given an Event object with the appropriate REQUEST_TOKEN value.

Parameters

event

An Event object with, at minimum, the necessary REQUEST_TOKEN value