M
- as type of Message
public interface GenericDispatcher<M extends Message> extends org.apache.commons.collections.Transformer, Consumer<M>
Modifier and Type | Method and Description |
---|---|
default void |
accept(M msg) |
void |
dispatch(M message) |
default <S> S |
getSettings(M message)
A mild enforcement of a common method to getSettings() for a Dispatcher
|
default Object |
transform(Object input) |
default <S> S getSettings(M message)
message
- as type Messagedefault Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
Copyright © 2018. All rights reserved.