Click or drag to resize

OperationalModes Enumeration

Operational modes that affect how DataPublisher and DataSubscriber communicate.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.282-beta
Syntax
[FlagsAttribute]
public enum OperationalModes
View Source
Members
Member nameValueDescription
NoFlags0 No flags set.
VersionMask31 Mask to get version number of protocol.
CompressionModeMask224 Mask to get mode of compression.
EncodingMask768 Mask to get character encoding used when exchanging messages between publisher and subscriber.
UseCommonSerializationFormat16,777,216 Determines type of serialization to use when exchanging signal index cache and metadata.
ReceiveExternalMetadata33,554,432 Determines whether external measurements are exchanged during metadata synchronization.
ReceiveInternalMetadata67,108,864 Determines whether internal measurements are exchanged during metadata synchronization.
CompressPayloadData536,870,912 Determines whether payload data is compressed when exchanging between publisher and subscriber.
CompressSignalIndexCache1,073,741,824 Determines whether the signal index cache is compressed when exchanging between publisher and subscriber.
CompressMetadata2,147,483,648 Determines whether metadata is compressed when exchanging between publisher and subscriber.

The OperationalModes type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodGetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
Remarks
Operational modes are sent from a subscriber to a publisher to request operational behaviors for the connection, as a result the operation modes must be sent before any other command. The publisher may silently refuse some requests (e.g., compression) based on its configuration. Operational modes only apply to fundamental protocol control.
See Also