discardEvents

public static EventBlackList discardEvents(Array<Class<? extends EventMessage>> eventClasses)

Creates a new instance of EventBlackList discarding events of the given types.

Return

new instance of the black-list filter

Parameters

eventClasses

the list of event classes which cannot be used