using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Session;
///
/// A session held by one instance, as the other instances see it.
///
public sealed class SessionDirectoryEntry
{
///
/// Gets or sets the identity of the instance holding the connection.
///
public string OwnerPod { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether the owner holds a live connection to the session. Only an
/// owner that does can be routed a remote-control message.
///
public bool HoldsConnection { get; set; }
///
/// Gets or sets the session as its owner last rendered it.
///
public SessionInfoDto? Session { get; set; }
}