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 Decoderinvalid input: '<'String, StringBuffer> {
Author:
Jeanfrancois Arcand
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(U s)
    Decode the specified object of type U into object of type T
  • Method Details

    • 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