mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
27 lines
747 B
C#
27 lines
747 B
C#
namespace StockSharp.Messages;
|
|
|
|
/// <summary>
|
|
/// Message indicating that the connection was lost and reconnection is in progress.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Uses when the underlying <see cref="IMessageAdapter"/> controls the connection itself.
|
|
/// </remarks>
|
|
[DataContract]
|
|
[Serializable]
|
|
public class ConnectionLostMessage : BaseConnectionControlMessage
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ConnectionLostMessage"/>.
|
|
/// </summary>
|
|
public ConnectionLostMessage()
|
|
: base(MessageTypes.ConnectionLost)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Create a copy of <see cref="ConnectionLostMessage"/>.
|
|
/// </summary>
|
|
/// <returns>Copy.</returns>
|
|
public override Message Clone()
|
|
=> CopyTo(new ConnectionLostMessage());
|
|
} |