| Modifier and Type | Method and Description |
|---|---|
boolean |
EventFilter.accept(Event<C> event)
States whether the event should be passed to the event handler that was registered with it.
|
void |
Dispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers)
Dispatches the specified event to the specified event filters and handlers.
|
void |
EventHandler.handleEvent(Event<C> event)
Handles the specified event.
|
void |
ExceptionHandler.handleException(Throwable throwable,
Event<?> event)
Handles the specified exception that occurred when the specified event was either being dispatched or processed
by an event handler.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StaticEventBus.publish(Event<?> event) |
protected abstract <C> void |
AbstractEventBus.publish(Event<C> event)
Publishes the specified event on the event bus.
|
<C> void |
SimpleEventBus.publish(Event<C> event) |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
void |
AbstractUIThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
void |
CurrentThreadDispatcher.dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
protected void |
AbstractSerialDispatcher.processEvent(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
protected boolean |
AbstractDispatcher.processEventThroughFilterAndHandler(Event<Object> event,
EventFilter<Object> filter,
EventHandler<Object> handler,
Collection<ExceptionHandler> exceptionHandlers)
Passes the specified event to the specified event handler if the specified event filter accepts it.
|
protected void |
AbstractDispatcher.processUncheckedException(Throwable t,
Collection<ExceptionHandler> exceptionHandlers,
Event<?> event)
Processes the specified exception with the specified exception handlers.
|
protected void |
AbstractDispatcher.processUndeliveredEvent(Event<Object> event,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers)
Passes the specified event to the specified undelivered event handlers.
|
protected void |
AbstractSerialDispatcher.queueEvent(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers) |
| Modifier and Type | Method and Description |
|---|---|
void |
LogErrorExceptionHandler.handleException(Throwable throwable,
Event<?> event) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContentClassFilter.accept(Event<C> event) |
boolean |
TopicFilter.accept(Event<C> event) |
boolean |
EventClassFilter.accept(Event<C> event) |
boolean |
ChannelFilter.accept(Event<C> event) |
Copyright © 2017. All rights reserved.