mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
b5bbb98175
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
25 lines
844 B
C#
25 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;
|
|
}
|