Annotation Type Message


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Message
    Annotate a method that will get invoked when String messages are broadcasted using the Broadcaster associated with the class where the annotation is associated.
    Author:
    Jeanfrancois Arcand
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends Decoder<?,​?>>[] decoders
      A list of Decoder
      java.lang.Class<? extends Encoder<?,​?>>[] encoders
      A list of Encoder
    • Element Detail

      • encoders

        java.lang.Class<? extends Encoder<?,​?>>[] encoders
        A list of Encoder
        Default:
        {}
      • decoders

        java.lang.Class<? extends Decoder<?,​?>>[] decoders
        A list of Decoder
        Default:
        {}