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