Package org.cometd.annotation
Annotation Type Subscription
-
@Target(METHOD) @Retention(RUNTIME) @Documented public @interface Subscription
For server-side services, identifies callback methods that are invoked when a message is processed on local-side.
For client-side services, identifies callback methods that are invoked with the same semantic of
ClientSessionChannel.subscribe(ClientSessionChannel.MessageListener)
.- See Also:
Listener
-
-
Element Detail
-
value
String[] value
- Returns:
- the list of channels to which the callback method subscribes to
-
-