Interface IMissingTopicNotification
The notification that a session has made a request using a selector that does not match any topics.
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface IMissingTopicNotification
Properties
ServerNames
Gets a list of the names of the servers through which the notification has been routed.
Declaration
List<string> ServerNames { get; }
Property Value
Type | Description |
---|---|
List<String> | The list of server names, the first being the one which the originating session was connected to. |
Remarks
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.
SessionId
Gets the identity of the session that made the request.
Declaration
ISessionId SessionId { get; }
Property Value
Type | Description |
---|---|
ISessionId | The session identifier. |
SessionProperties
Gets the session properties of the session that made the request.
Declaration
Dictionary<string, string> SessionProperties { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, String> | The session properties. |
TopicPath
Gets the topic path derived from the requested topic selector.
Declaration
string TopicPath { get; }
Property Value
Type | Description |
---|---|
String | The topic path. |
Remarks
This is equivalent to calling PathPrefix.
TopicSelector
Gets the ITopicSelector that triggered this notification.
Declaration
ITopicSelector TopicSelector { get; }
Property Value
Type | Description |
---|---|
ITopicSelector | The topic selector. |
Remarks
Caution
Deprecated since 6.4.
Topic selectors are no longer verified locally by the client library.
Instead System.String
expressions will be sent to (and verified by) the Diffusion server. This property will be removed in a future release.
TopicSelectorExpression
Gets the topic selector expression that triggered this notification.
Declaration
string TopicSelectorExpression { get; }
Property Value
Type | Description |
---|---|
String | The topic selector expression. |
Remarks
Added in 6.4.
Methods
Cancel()
This method has no effect.
Declaration
void Cancel()
Remarks
Caution
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.
Proceed()
This method has no effect.
Declaration
void Proceed()
Remarks
Caution
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.