public final class EventBus extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EventBus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventBus.Builder |
builder() |
boolean |
contains(EventHandler handler) |
void |
emit(Event<?> event) |
void |
register(EventHandler handler) |
void |
terminate() |
void |
unregister(EventHandler handler) |
public static EventBus.Builder builder()
public boolean contains(EventHandler handler)
public void emit(Event<?> event) throws InterruptedException
InterruptedExceptionpublic void register(EventHandler handler)
public void terminate()
public void unregister(EventHandler handler)
Copyright © 2016. All rights reserved.