@Target(value=METHOD)
@Retention(value=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.
Subscription| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
receiveOwnPublishes |
Copyright © 2008–2019 The CometD Project. All rights reserved.