mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
25 lines
830 B
C#
25 lines
830 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using MediaBrowser.Model.Activity;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Activity log created message.
|
|
/// </summary>
|
|
public class ActivityLogEntryMessage : OutboundWebSocketMessage<IReadOnlyList<ActivityLogEntry>>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ActivityLogEntryMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">List of activity log entries.</param>
|
|
public ActivityLogEntryMessage(IReadOnlyList<ActivityLogEntry> data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.ActivityLogEntry)]
|
|
public override SessionMessageType MessageType => SessionMessageType.ActivityLogEntry;
|
|
}
|