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