subscribers Of
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
event Class
the class of the events
origin Class
the class of the messages that resulted in the event, or EmptyClass for all origins