mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-12 00:43:03 +00:00
31 lines
913 B
C#
31 lines
913 B
C#
using CryptoExchange.Net.Interfaces;
|
|
using CryptoExchange.Net.Objects;
|
|
using CryptoExchange.Net.Objects.Sockets;
|
|
using Microsoft.Extensions.Logging;
|
|
using System;
|
|
|
|
namespace CryptoExchange.Net.Sockets
|
|
{
|
|
/// <summary>
|
|
/// A system subscription
|
|
/// </summary>
|
|
public abstract class SystemSubscription : Subscription
|
|
{
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
/// <param name="logger"></param>
|
|
/// <param name="authenticated"></param>
|
|
public SystemSubscription(ILogger logger, bool authenticated = false) : base(logger, authenticated, false)
|
|
{
|
|
Status = SubscriptionStatus.Subscribed;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override Query? GetSubQuery(SocketConnection connection) => null;
|
|
|
|
/// <inheritdoc />
|
|
protected override Query? GetUnsubQuery(SocketConnection connection) => null;
|
|
}
|
|
}
|