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