Interface ITopic
Contains properties and methods required for a topic. It is implemented by Topic.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface ITopic : IDisposable
Name | Description |
---|---|
ExpirationTime | Default Expiry time of messsage for this topic. Its default value is TimeSpan.MaxValue. |
IsClosed | Is topic closed or not? |
MessageCount | Default Expiry time of message for this topic. Number of messages published for this topic. |
Name | Topic's name |
OnTopicDeleted | Topic deletion events are delivered through this callback. |
Name | Description |
---|---|
CreateSubscription(MessageReceivedCallback) | Subscribes for receiving messages of a particular topic. |
Publish(Message, DeliveryOption, Boolean) | Method used to publish message on topic |
Name | Description |
---|---|
MessageDeliveryFailure | Subscribe for Message delivery failure events |