allowEvents

public static EventWhiteList allowEvents(Array<Class<? extends EventMessage>> eventClasses)

Creates a new instance of EventWhiteList allowing events of the given types.

Return

new instance of the white-list filter

Parameters

eventClasses

the allowed event classes