Interface Decoder<U,​T>

  • Type Parameters:
    U -
    T -

    public interface Decoder<U,​T>
    Decode a message in order to invoke a class annotated with ManagedService with a method annotated with Message. For example:
    
         public final class StringBufferDecoder implements Decoder {
    
    Author:
    Jeanfrancois Arcand
    • Method Detail

      • decode

        T decode​(U s)
        Decode the specified object of type U into object of type T
        Parameters:
        s - a object of type U
        Returns:
        a new object of type T