public interface SubscriptionRegistry
Modifier and Type | Method and Description |
---|---|
org.springframework.util.MultiValueMap<String,String> |
findSubscriptions(Message<?> message)
Find all subscriptions that should receive the given message.
|
void |
registerSubscription(Message<?> subscribeMessage)
Register a subscription represented by the given message.
|
void |
unregisterAllSubscriptions(String sessionId)
Remove all subscriptions associated with the given sessionId.
|
void |
unregisterSubscription(Message<?> unsubscribeMessage)
Unregister a subscription.
|
void registerSubscription(Message<?> subscribeMessage)
subscribeMessage
- the subscription requestvoid unregisterSubscription(Message<?> unsubscribeMessage)
unsubscribeMessage
- the request to unsubscribevoid unregisterAllSubscriptions(String sessionId)