public static interface TopicControl.MissingTopicNotification
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Deprecated.
since 6.6
This method is a no-op. In previous releases this would prevent the selector from being added to the session's selections. Since 6.6 the selector is always added to the session's selections before this notification is issued regardless. |
List<String> |
getServerNames()
Returns a list of the names of the servers through which the
notification has been routed.
|
default SessionId |
getSessionId()
Returns the identity of the session that made the request.
|
Map<String,String> |
getSessionProperties()
Returns the session properties of the session that made the request.
|
default String |
getTopicPath()
Returns the topic path derived from the requested topic selector.
|
TopicSelector |
getTopicSelector()
Returns the
TopicSelector that triggered this notification. |
void |
proceed()
Deprecated.
since 6.6
This method is a no-op. In previous releases this would cause the selector to be added to the session's selections and the selection to be re-evaluated. Since 6.6 the selector is always added to the session's selections before this notification is issued. |
Map<String,String> getSessionProperties()
default SessionId getSessionId()
This method is equivalent to calling
sessionIdFromString(getSessionProperties().get(Session.SESSION_ID)
.
default String getTopicPath()
getTopicSelector().getPathPrefix()
.TopicSelector getTopicSelector()
TopicSelector
that triggered this notification.List<String> getServerNames()
The first name in the list will be the name of the server to which the originating session was connected. If the notification was routed through remote server connections before reaching the recipient then those servers will also be listed in the order that the notification passed through them.
@Deprecated void proceed()
This method is a no-op. In previous releases this would cause the selector to be added to the session's selections and the selection to be re-evaluated. Since 6.6 the selector is always added to the session's selections before this notification is issued.
@Deprecated void cancel()
This method is a no-op. In previous releases this would prevent the selector from being added to the session's selections. Since 6.6 the selector is always added to the session's selections before this notification is issued regardless.
Copyright © 2022 Push Technology Ltd. All Rights Reserved.