Click or drag to resize

DataPublisherMutualSubscription Property

Gets or sets flag that determines if a subscription is mutual, i.e., bi-directional pub/sub. In this mode one node will be the owner and set Internal = True and the other node will be the renter and set Internal = False.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
[ConnectionStringParameterAttribute]
[DefaultValueAttribute(false)]
public bool MutualSubscription { get; set; }
View Source

Property Value

Boolean
Remarks

This flag is intended to be used in scenarios where a remote subscriber can add new measurements associated with a source device, e.g., creating new calculated result measurements on a remote machine for load distribution that should get associated with a device on the local machine, thus becoming part of the local measurement set.

For best results, both the owner and renter subscriptions should be reduced to needed measurements, i.e., renter should only receive measurements needed for remote calculations and owner should only receive new calculated results. Note that when used with a TLS-style subscription this can be accomplished by using the subscription UI screens that control the measurement subscribed flag. For internal subscriptions, reduction of metadata and subscribed measurements will need to be controlled via connection string with metadataFilters and outputMeasurements, respectively.

See Also