org.atmosphere.config.service
Annotation Type Message


@Retention(value=RUNTIME)
@Target(value=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
 Class<? extends Decoder>[] decoders
          A list of Decoder
 Class<? extends Encoder>[] encoders
          A list of Encoder
 

encoders

public abstract Class<? extends Encoder>[] encoders
A list of Encoder

Default:
{}

decoders

public abstract Class<? extends Decoder>[] decoders
A list of Decoder

Default:
{}


Copyright © 2014. All Rights Reserved.