mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
24 lines
844 B
C#
24 lines
844 B
C#
using System.ComponentModel;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound;
|
|
|
|
/// <summary>
|
|
/// Scheduled tasks info start message.
|
|
/// Data is the timing data encoded as "$initialDelay,$interval" in ms.
|
|
/// </summary>
|
|
public class ScheduledTasksInfoStartMessage : InboundWebSocketMessage<string>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ScheduledTasksInfoStartMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">The timing data encoded as $initialDelay,$interval.</param>
|
|
public ScheduledTasksInfoStartMessage(string data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.ScheduledTasksInfoStart)]
|
|
public override SessionMessageType MessageType => SessionMessageType.ScheduledTasksInfoStart;
|
|
}
|