Click or drag to resize

Config Class

.NET STTP API
Defines the STTP connection related configuration parameters.
Inheritance Hierarchy
SystemObject
  sttpConfig

Namespace: sttp
Assembly: sttp.net (in sttp.net.dll) Version: 1.0.0
Syntax
public class Config
Request Example View Source

The Config type exposes the following members.

Constructors
 NameDescription
Public methodConfigInitializes a new instance of the Config class
Top
Properties
 NameDescription
Public propertyAutoReconnect Gets or sets flag that determines if connections should be automatically reattempted.
Public propertyAutoRequestMetadata Gets or sets flag that determines if metadata should be automatically requested upon successful connection.
Public propertyAutoSubscribe Gets or sets flag that determines if subscription should be handled automatically upon successful connection.
Public propertyCompressMetadata Gets or sets flag that determines whether the metadata transfer is compressed.
Public propertyCompressPayloadData Gets or sets flag that determines whether payload data is compressed.
Public propertyCompressSignalIndexCache Gets or sets flag that determines whether the signal index cache is compressed.
Public propertyMaxRetries Gets or sets the maximum number of times to retry a connection. Set value to -1 to retry infinitely.
Public propertyMaxRetryInterval Gets or sets the maximum retry interval, in seconds.
Public propertyMetadataFilters Gets or sets any filters to be applied to incoming metadata to reduce total received metadata. Each filter expression should be separated by semi-colon.
Public propertyRetryInterval Gets or sets the base retry interval, in seconds. Retries will exponentially back-off starting from this interval.
Public propertyVersion Gets or sets the target STTP protocol version. This currently defaults to 2.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also