@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 org.cometd.bayeux.client.ClientSessionChannel.MessageListener
.
Subscription
Modifier and Type | Required Element and Description |
---|---|
String[] |
value |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
receiveOwnPublishes |
public abstract String[] value
Copyright © 2008–2024 The CometD Project. All rights reserved.