Interface MessageWrapper<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MessageWrapper<T>
    Since:
    3.9.0
    • Method Detail

      • wrap

        T wrap​(InterlokMessage m)
        throws java.lang.Exception
        Wrap the interlok message into something else.
        Parameters:
        m - the message
        Returns:
        the wrapped instance.
        Throws:
        java.lang.Exception - on exception.