| Modifier and Type | Method and Description |
|---|---|
| public MultiValueMap | Returns: aMultiValueMap with sessionId-subscriptionId pairs
(possibly empty)the message message)Find all subscriptions that should receive the given message. |
| public void | registerSubscription(Message<?>
the subscription request subscribeMessage)Register a subscription represented by the given message. |
| public void | unregisterAllSubscriptions(String sessionId)
Remove all subscriptions associated with the given sessionId. |
| public void | unregisterSubscription(Message<?>
the request to unsubscribe unsubscribeMessage)Unregister a subscription. |
| findSubscriptions | back to summary |
|---|---|
| public MultiValueMap Find all subscriptions that should receive the given message. The map returned is safe to iterate and will never be modified.
| |
| registerSubscription | back to summary |
|---|---|
| public void registerSubscription(Message<?> subscribeMessage) Register a subscription represented by the given message.
| |
| unregisterAllSubscriptions | back to summary |
|---|---|
| public void unregisterAllSubscriptions(String sessionId) Remove all subscriptions associated with the given sessionId. | |
| unregisterSubscription | back to summary |
|---|---|
| public void unregisterSubscription(Message<?> unsubscribeMessage) Unregister a subscription.
| |