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