Listener

public interface Listener<E extends MessageEnvelope<? extends Object, ? extends Object, ? extends Object>> implements Consumer<T>

A listener receives a message when it is posted to a Busbefore it is processed by filters.

Parameters

<E>

the type of envelopes of messages posted to the bus

Inherited functions

Link copied to clipboard
public abstract void accept(T p)
Link copied to clipboard
public Consumer<T> andThen(Consumer<? extends Object> after)