Click or drag to resize

ReConnectionSettings Class

Connection tracking settings IMessageAdapter with a server.
Inheritance Hierarchy
SystemObject
  StockSharp.MessagesReConnectionSettings

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class ReConnectionSettings : IPersistable

The ReConnectionSettings type exposes the following members.

Constructors
  NameDescription
Public methodReConnectionSettings
Initializes a new instance of the ReConnectionSettings.
Top
Properties
  NameDescription
Public propertyAttemptCount
The number of attempts to establish the initial connection, if it has not been established (timeout, network failure, etc.). The default value is 0. To establish infinite number uses -1.
Public propertyInterval
The interval at which attempts will establish a connection. The default value is 10 seconds.
Public propertyReAttemptCount
The number of attempts to reconnect if the connection was lost during the operation. The default value is 100. To establish infinite number uses -1.
Public propertyTimeOutInterval
Timeout successful connection / disconnection. If the value is Zero, the monitoring is performed. The default value is 30 seconds.
Public propertyWorkingTime
Schedule, during which it is necessary to make the connection. For example, there is no need to track connection when trading on the exchange finished.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Save settings.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also