Diffusion .NET API
5.9.24
|
Service allowing a client to receive topic notifications. More...
Public Member Functions | |
ITopicNotifications | SetDetailRequired (TopicNotificationAddLevel addLevel, bool notifyRemoval, bool notifyUpdate) |
This is used to set the notification details required. More... | |
ITopicNotifications | Select (TopicNotificationSelectionMode mode, TopicSpecifierType topics) |
Sends a request to the server to update the selection of topics that notifications will be received for. More... | |
Properties | |
TopicNotificationAddLevel | NotificationLevel [get] |
Returns the current add notification level. More... | |
bool | IsNotifyingRemoval [get] |
Indicates whether notifying topic removals. More... | |
bool | IsNotifyingUpdate [get] |
Indicates whether notifying topic property updates. More... | |
Properties inherited from PushTechnology.ClientInterface.Client.Features.IFeature | |
ISession | Session [get] |
Get the session that the service is associated with. More... | |
Service allowing a client to receive topic notifications.
A client can receive notifications of topics added, removed or updated (certain properties only).
The required notification detail should be specified using SetDetailRequired( IAddLevel, bool, bool ).
After setting the notification detail required, the range of topics that require notifications should be specified. This is done using the Select( ISelectionMode, ITopicSet ) method which may be used to add, replace, remove or clear selections.
ITopicNotifications PushTechnology.ClientInterface.Client.Features.ITopicNotifications.Select | ( | TopicNotificationSelectionMode | mode, |
TopicSpecifierType | topics | ||
) |
Sends a request to the server to update the selection of topics that notifications will be received for.
As this is an asynchronous request to the serve
mode | |
topics |
ITopicNotifications PushTechnology.ClientInterface.Client.Features.ITopicNotifications.SetDetailRequired | ( | TopicNotificationAddLevel | addLevel, |
bool | notifyRemoval, | ||
bool | notifyUpdate | ||
) |
This is used to set the notification details required.
If this is not called then no notifications will be received.
This will send a request to the server to change the level of details.
addLevel | The required notification level for add notifications. |
notifyRemoval | true to request notifications of topic removals. |
notifyUpdate |
|
get |
Indicates whether notifying topic removals.
|
get |
Indicates whether notifying topic property updates.
|
get |
Returns the current add notification level.