public class EventBus extends Object
Modifier and Type | Method and Description |
---|---|
<T> void |
post(T event,
EventExceptionHandler<T> exceptionHandler) |
void |
register(Object listener) |
void |
unregister(Object listener) |
public EventBus()
public EventBus(Logger logger)
public <T> void post(T event, EventExceptionHandler<T> exceptionHandler)
public void register(Object listener)
public void unregister(Object listener)
Copyright © 2021. All rights reserved.