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>
    A Decoder IS-A Function that is decoding objects of Type <T> into TextMessages, mostly used as an adapter to some receiver-endpoint infrastructure.
    • Method Summary

      • Methods inherited from interface java.util.function.Function

        andThen, apply, compose