IMessageListenerSession

StockSharp.Server.Core

The interface describing a session, create by IMessageListener.

Implements: ILogReceiver, ILogSource, IDisposable

Properties

Address : EndPoint

Address.

AuthorizationToken : string

Authorization token.

BytesReceived : long

The number of bytes received.

BytesSent : long

The number of bytes sent.

CreationTime : DateTime

Creation time.

ErrorCount : int

The number of errors.

IsConnected : bool

Is connected.

IsDemo : bool

Is demo session.

IsEnabled : bool

Enabled.

Language : string

Client app language.

ReadTimeout : TimeSpan

The timeout of reading data. The default value is Zero.

SessionId : string

Identifier.

TargetCompId : string

Server endpoint identifier.

TotalErrorCount : int

Total error count.

UpdatedTime : DateTime

Updated time.

Version : string

Client app version.

WriteTimeout : TimeSpan

The timeout of sending data. The default value is Zero.

Methods

IncreaseBytesSent(int)

Increase BytesSent.

count
Value.
IncreaseErrorCount()

Increase ErrorCount.

ResetErrorCount()

Reset ErrorCount.