using System;
using System.Collections.Generic;
namespace Abp.RealTime
{
///
/// Represents an online client connected to the application.
///
public interface IOnlineClient
{
///
/// Unique connection Id for this client.
///
string ConnectionId { get; }
///
/// IP address of this client.
///
string IpAddress { get; }
///
/// Tenant Id.
///
int? TenantId { get; }
///
/// User Id.
///
long? UserId { get; }
///
/// Connection establishment time for this client.
///
DateTime ConnectTime { get; }
///
/// Shortcut to set/get .
///
object this[string key] { get; set; }
///
/// Can be used to add custom properties for this client.
///
Dictionary Properties { get; }
}
}