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
AuthorizationToken
Authorization token.
string AuthorizationToken { get; }
Property Value
BytesReceived
The number of bytes received.
long BytesReceived { get; }
Property Value
BytesSent
The number of bytes sent.
long BytesSent { get; }
Property Value
CreationTime
Creation time.
DateTimeOffset CreationTime { get; }
Property Value
ErrorCount
The number of errors.
int ErrorCount { get; }
Property Value
IsConnected
Is connected.
bool IsConnected { get; }
Property Value
IsEnabled
Enabled.
bool IsEnabled { get; }
Property Value
Language
Client app language.
string Language { get; }
Property Value
ReadTimeout
The timeout of reading data. The default value is Zero.
TimeSpan ReadTimeout { get; set; }
Property Value
ServerSession
Server session.
IMessageListenerSession ServerSession { get; }
Property Value
SessionId
Identifier.
string SessionId { get; }
Property Value
TargetCompId
Server endpoint identifier.
string TargetCompId { get; }
Property Value
TotalErrorCount
Total error count.
int TotalErrorCount { get; }
Property Value
UpdatedTime
Updated time.
DateTimeOffset UpdatedTime { get; }
Property Value
Version
Client app version.
string Version { get; }
Property Value
WriteTimeout
The timeout of sending data. The default value is Zero.
TimeSpan WriteTimeout { get; set; }
Property Value
Methods
IncreaseBytesSent(int)
Increase BytesSent.
void IncreaseBytesSent(int count)
Parameters
count
intValue.
IncreaseErrorCount()
Increase ErrorCount.
void IncreaseErrorCount()
ResetErrorCount()
Reset ErrorCount.
void ResetErrorCount()