Package de.otto.synapse.translator
Interface Decoder<T>
-
- Type Parameters:
T- the type of the source objects that are decoded into text messages.
- All Superinterfaces:
java.util.function.Function<T,TextMessage>
- All Known Implementing Classes:
AbstractTextDecoder,TextDecoder
public interface Decoder<T> extends java.util.function.Function<T,TextMessage>
ADecoderIS-AFunctionthat is decoding objects of Type <T> intoTextMessages, mostly used as an adapter to some receiver-endpoint infrastructure.