SingleThreadEventReceivingStrategy

public class SingleThreadEventReceivingStrategy extends AbstractActivatable implements EventReceivingStrategy

An EventReceivingStrategy that uses a single thread for all handlers.

Author

jwienke

Methods

activate

public void activate()

addFilter

public void addFilter(Filter filter)

addHandler

public void addHandler(Handler handler, boolean wait)

deactivate

public void deactivate()

handle

public void handle(Event event)

isActive

public boolean isActive()

removeFilter

public void removeFilter(Filter filter)

removeHandler

public void removeHandler(Handler handler, boolean wait)