public interface EventReceivingStrategy extends EventHandler
Handler
s. Implementations have the task of freeing the caller of
EventHandler.handle(rsb.Event)
to dispatch the event in its thread.Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter filter)
Adds a filter that is applied for all registered handlers some time after
this method call.
|
void |
addHandler(Handler handler,
boolean wait) |
void |
removeFilter(Filter filter)
Removes a filter that is remove for all registered handlers some time
after this method call.
|
void |
removeHandler(Handler handler,
boolean wait) |
void |
shutdownAndWait() |
handle
void addFilter(Filter filter)
filter
- filter to add, not null
void removeFilter(Filter filter)
filter
- filter to remove, not null
void addHandler(Handler handler, boolean wait)
void removeHandler(Handler handler, boolean wait) throws java.lang.InterruptedException
java.lang.InterruptedException
void shutdownAndWait() throws java.lang.InterruptedException
java.lang.InterruptedException