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