Interface IMessagingService
This interface contains properties and methods required for Messaging Service.
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface IMessagingService
Methods
Name | Description |
---|---|
CreateTopic(String) | Retrieves the specified topic instance. |
DeleteTopic(String) | Deletes the specified topic. |
DeleteTopicAsync(String) | Deletes the specified topic. |
GetTopic(String, TopicSearchOptions) | Retrieves the topic instance against the TopicSearchOptions and provided name or pattern. |
RegisterCacheNotification(CacheDataNotificationCallback, EventType, EventDataFilter) | Registers ItemAdded, ItemUpdate or ItemRemoved events with cache. |
RegisterCacheNotification(IEnumerable<String>, CacheDataNotificationCallback, EventType, EventDataFilter) | Registers cache notification EventType of type Item Added, Updated or Removed against specified keys in cache. |
RegisterCacheNotification(String, CacheDataNotificationCallback, EventType, EventDataFilter) | Registers cache notification EventType of type Item Added, Updated or Removed against specified key in cache. |
RegisterCQ(ContinuousQuery) | Registers the specified continuous query with the cache server. You can use this method multiple times in your application depending on its need to receive the notifications for a change in the dataset of your query. This method takes as argument an object of ContinuousQuery which has the query and the callbacks registered to it. |
UnRegisterCacheNotification(CacheEventDescriptor) | Unregisters a cache level event that may have been registered. |
UnRegisterCacheNotification(IEnumerable<String>, CacheDataNotificationCallback, EventType) | Unregisters cache notification against specified keys in cache. |
UnRegisterCacheNotification(String, CacheDataNotificationCallback, EventType) | Unregisters the Alachisoft.NCache.Client.CacheItemUpdatedCallback already registered for the specified key. |
UnRegisterCQ(ContinuousQuery) | Unregisters an already registered continuous query to deactivate it on the cache server. Like RegisterCQ, it takes as argument an object of ContinuousQuery to unregister the callbacks which are no more fired after this call. This method is used when the user is no more interested in receiving notifications for changes in a query result set. |