Skip navigation links

com.diffplug.guava:guava-eventbus:19.0.0 by DiffPlug

A C D E G H I P R S T U 

A

AllowConcurrentEvents - Annotation Type in com.google.common.eventbus
Marks an event subscriber method as being thread-safe.
AsyncEventBus - Class in com.google.common.eventbus
An EventBus that takes the Executor of your choice and uses it to dispatch events, allowing dispatch to occur asynchronously.
AsyncEventBus(String, Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
Creates a new AsyncEventBus that will use executor to dispatch events.
AsyncEventBus(Executor, SubscriberExceptionHandler) - Constructor for class com.google.common.eventbus.AsyncEventBus
Creates a new AsyncEventBus that will use executor to dispatch events.
AsyncEventBus(Executor) - Constructor for class com.google.common.eventbus.AsyncEventBus
Creates a new AsyncEventBus that will use executor to dispatch events.

C

com.google.common.eventbus - package com.google.common.eventbus
The EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other).

D

DeadEvent - Class in com.google.common.eventbus
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
DeadEvent(Object, Object) - Constructor for class com.google.common.eventbus.DeadEvent
Creates a new DeadEvent.

E

EventBus - Class in com.google.common.eventbus
Dispatches events to listeners, and provides ways for listeners to register themselves.
EventBus() - Constructor for class com.google.common.eventbus.EventBus
Creates a new EventBus named "default".
EventBus(String) - Constructor for class com.google.common.eventbus.EventBus
Creates a new EventBus with the given identifier.
EventBus(SubscriberExceptionHandler) - Constructor for class com.google.common.eventbus.EventBus
Creates a new EventBus with the given SubscriberExceptionHandler.

G

getEvent() - Method in class com.google.common.eventbus.DeadEvent
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered subscriber.
getEvent() - Method in class com.google.common.eventbus.SubscriberExceptionContext
 
getEventBus() - Method in class com.google.common.eventbus.SubscriberExceptionContext
 
getSource() - Method in class com.google.common.eventbus.DeadEvent
Returns the object that originated this event (not the object that originated the wrapped event).
getSubscriber() - Method in class com.google.common.eventbus.SubscriberExceptionContext
 
getSubscriberMethod() - Method in class com.google.common.eventbus.SubscriberExceptionContext
 

H

handleException(Throwable, SubscriberExceptionContext) - Method in interface com.google.common.eventbus.SubscriberExceptionHandler
Handles exceptions thrown by subscribers.

I

identifier() - Method in class com.google.common.eventbus.EventBus
Returns the identifier for this event bus.

P

post(Object) - Method in class com.google.common.eventbus.EventBus
Posts an event to all registered subscribers.

R

register(Object) - Method in class com.google.common.eventbus.EventBus
Registers all subscriber methods on object to receive events.

S

Subscribe - Annotation Type in com.google.common.eventbus
Marks a method as an event subscriber.
SubscriberExceptionContext - Class in com.google.common.eventbus
Context for an exception thrown by a subscriber.
SubscriberExceptionHandler - Interface in com.google.common.eventbus
Handler for exceptions thrown by event subscribers.

T

toString() - Method in class com.google.common.eventbus.DeadEvent
 
toString() - Method in class com.google.common.eventbus.EventBus
 

U

unregister(Object) - Method in class com.google.common.eventbus.EventBus
Unregisters all subscriber methods on a registered object.
A C D E G H I P R S T U 
Skip navigation links

com.diffplug.guava:guava-eventbus:19.0.0 by DiffPlug