public static class NumericFilter.Processor extends Object implements FilterProcessor<ClientReceiveNumericEvent,NumericFilter>, net.engio.mbassy.listener.IMessageFilter<ClientReceiveNumericEvent>
| Constructor and Description |
|---|
Processor()
Constructs the processor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(@NonNull ClientReceiveNumericEvent event,
@NonNull NumericFilter[] numericFilters)
Gets if this event should be accepted based on annotations.
|
boolean |
accepts(ClientReceiveNumericEvent event,
net.engio.mbassy.subscription.SubscriptionContext context) |
public boolean accepts(@NonNull ClientReceiveNumericEvent event, @NonNull NumericFilter[] numericFilters)
FilterProcessoraccepts in interface FilterProcessor<ClientReceiveNumericEvent,NumericFilter>event - the eventnumericFilters - the annotationspublic boolean accepts(ClientReceiveNumericEvent event, net.engio.mbassy.subscription.SubscriptionContext context)
accepts in interface net.engio.mbassy.listener.IMessageFilter<ClientReceiveNumericEvent>Copyright © 2013–2021 Kitteh. All rights reserved.