Table of Contents

Class ServerSubscription

Namespace
StockSharp.Server.Core
Assembly
StockSharp.Server.Core.dll

Server subscription.

public class ServerSubscription : SubscriptionBase
Inheritance
ServerSubscription
Inherited Members
Extension Methods

Constructors

ServerSubscription(IMessageListenerSession, ISubscriptionMessage, SecurityMessage)

Initializes a new instance of the ServerSubscription.

public ServerSubscription(IMessageListenerSession session, ISubscriptionMessage subscriptionMessage, SecurityMessage security)

Parameters

session IMessageListenerSession

Session.

subscriptionMessage ISubscriptionMessage

Subscription message.

security SecurityMessage

Security.

Properties

BytesReceived

The number of bytes received.

public long BytesReceived { get; set; }

Property Value

long

BytesSent

The number of bytes sent.

public long BytesSent { get; set; }

Property Value

long

ErrorCount

The number of errors.

public int ErrorCount { get; set; }

Property Value

int

LastMessageTime

Last message time.

public DateTimeOffset? LastMessageTime { get; }

Property Value

DateTimeOffset?

MessagesCount

Total messages count.

public long MessagesCount { get; }

Property Value

long

Session

Session.

public IMessageListenerSession Session { get; }

Property Value

IMessageListenerSession

Methods

UpdateMessageStat()

public void UpdateMessageStat()