org.atmosphere.config.service
Annotation Type Ready


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Ready

Use this annotation with the ManagedService. A method annotated with this annotation will be invoked when the connection has been suspended and ready.

Author:
Jeanfrancois Arcand

Optional Element Summary
 Class<? extends Encoder>[] encoders
          A list of Encoder
 Ready.DELIVER_TO value
          Broadcast the returned value to only the calling resource Ready.DELIVER_TO.RESOURCE, to it's associated Broadcaster Ready.DELIVER_TO.BROADCASTER or to all created Broadcaster Ready.DELIVER_TO.ALL
 

value

public abstract Ready.DELIVER_TO value
Broadcast the returned value to only the calling resource Ready.DELIVER_TO.RESOURCE, to it's associated Broadcaster Ready.DELIVER_TO.BROADCASTER or to all created Broadcaster Ready.DELIVER_TO.ALL

Returns:
the Ready.DELIVER_TO
Default:
org.atmosphere.config.service.Ready.DELIVER_TO.RESOURCE

encoders

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

Default:
{}


Copyright © 2013. All Rights Reserved.