C - Type of event content.protected class AbstractEventBus.SubscriptionEntry<C> extends Object
| Constructor and Description |
|---|
SubscriptionEntry(int id,
Topic<C> topic,
EventFilter<? super C> filter,
EventHandler<? super C> handler)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EventFilter<? super C> |
getFilter()
Gets the filter registered with the subscription
|
EventHandler<? super C> |
getHandler()
Gets the subscribers.
|
int |
getId()
Gets the identifier that can be used to unsubscribe.
|
Topic<C> |
getTopic()
Gets the for which the subscription applies.
|
public SubscriptionEntry(int id,
Topic<C> topic,
EventFilter<? super C> filter,
EventHandler<? super C> handler)
id - Identifier that can be used to unsubscribe.topic - Topic for which the subscription applies.filter - Filter registered with the subscription.handler - Subscriber.public int getId()
public EventFilter<? super C> getFilter()
public EventHandler<? super C> getHandler()
Copyright © 2017. All rights reserved.