subscribersOf

public abstract ImmutableSet<SubscriberMethod> subscribersOf(EventClass eventClass, MessageClass<?> originClass)

Obtains all subscriber methods that handle the passed event class.

There can be more than one method, if the subscriptions used the field filtering.

Return

methods handling the requested class of the events

Parameters

eventClass

the class of the events

originClass

the class of the messages that resulted in the event, or EmptyClass for all origins