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