Diffusion .NET Client Library
6.1.5
|
Details of a slave topic. More...
Public Member Functions | |
ISlaveTopicDetailsBuilder | CreateBuilder () |
Returns a new builder initialised with the values from these details. More... | |
Additional Inherited Members | |
Properties inherited from PushTechnology.ClientInterface.Client.Topics.ITopicDetails | |
TopicDetailsLevel | Level [get] |
Returns the level of detail available. More... | |
TopicType | Type [get] |
Returns the topic type. More... | |
ITopicDetailsSchema | Schema [get] |
Returns the topic schema. More... | |
ITopicDetailsAttributes | Attributes [get] |
Returns the topic attributes. More... | |
Details of a slave topic.
This type of topic has no data of its own but points to another topic (the master) that has data. It effectively allows a topic's data to be shared across more than one topic node. If the master topic is updated then all slave topics are effectively updated, so no subscribers will receive updates.
If a topic is removed that is pointed to by slave topics, all slave topics are also automatically removed.
Actions performed on the slave (such as updating it) have the same effect as performing the action on the master.
To create an instance of such details use a builder obtained from the ITopicControl feature as follows:
var control = session.TopicControl; var builder = control.CreateDetailsBuilder<ISlaveTopicDetailsBuilder>();
The minimum that must be provided to the builder is the path of the master.
ISlaveTopicDetailsBuilder PushTechnology.ClientInterface.Client.Topics.ISlaveTopicDetails.CreateBuilder | ( | ) |
Returns a new builder initialised with the values from these details.