Table of Contents

Interface IMessageListenerSession

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

The interface describing a session, create by IMessageListener.

public interface IMessageListenerSession : ILogReceiver, ILogSource, IDisposable
Inherited Members
Extension Methods

Properties

Address

Address.

EndPoint Address { get; }

Property Value

EndPoint

AuthorizationToken

Authorization token.

string AuthorizationToken { get; }

Property Value

string

BytesReceived

The number of bytes received.

long BytesReceived { get; }

Property Value

long

BytesSent

The number of bytes sent.

long BytesSent { get; }

Property Value

long

CreationTime

Creation time.

DateTimeOffset CreationTime { get; }

Property Value

DateTimeOffset

ErrorCount

The number of errors.

int ErrorCount { get; }

Property Value

int

IsConnected

Is connected.

bool IsConnected { get; }

Property Value

bool

IsEnabled

Enabled.

bool IsEnabled { get; }

Property Value

bool

Language

Client app language.

string Language { get; }

Property Value

string

ReadTimeout

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

TimeSpan ReadTimeout { get; set; }

Property Value

TimeSpan

ServerSession

Server session.

IMessageListenerSession ServerSession { get; }

Property Value

IMessageListenerSession

SessionId

Identifier.

string SessionId { get; }

Property Value

string

TargetCompId

Server endpoint identifier.

string TargetCompId { get; }

Property Value

string

TotalErrorCount

Total error count.

int TotalErrorCount { get; }

Property Value

int

UpdatedTime

Updated time.

DateTimeOffset UpdatedTime { get; }

Property Value

DateTimeOffset

Version

Client app version.

string Version { get; }

Property Value

string

WriteTimeout

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

TimeSpan WriteTimeout { get; set; }

Property Value

TimeSpan

Methods

IncreaseBytesSent(int)

Increase BytesSent.

void IncreaseBytesSent(int count)

Parameters

count int

Value.

IncreaseErrorCount()

Increase ErrorCount.

void IncreaseErrorCount()

ResetErrorCount()

Reset ErrorCount.

void ResetErrorCount()