parent
5cd5a7d4ce
commit
1a0d8aef80
@ -1,30 +0,0 @@
|
|||||||
namespace Emby.Server.Implementations.Session
|
|
||||||
{
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Jellyfin.Data.Events;
|
|
||||||
using MediaBrowser.Controller.Net;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Defines the <see cref="ISessionWebSocketListener" />.
|
|
||||||
/// </summary>
|
|
||||||
public interface ISessionWebSocketListener
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Runs processes due to a WebSocket connection event.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="websocketConnection">The <see cref="IWebSocketConnection"/> instance.</param>
|
|
||||||
void ProcessWebSocketConnected(IWebSocketConnection websocketConnection);
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Disposes the object.
|
|
||||||
/// </summary>
|
|
||||||
void Dispose();
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Processes a message.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="message">The <see cref="WebSocketMessageInfo"/>.</param>
|
|
||||||
/// <returns>A <see cref="Task"/>.</returns>
|
|
||||||
Task ProcessMessageAsync(WebSocketMessageInfo message);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
#pragma warning disable CA1040 // Avoid empty interfaces
|
|
||||||
namespace Jellyfin.Api.WebSocketListeners
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Defines the <see cref="IActivityLogWebSocketListener" />.
|
|
||||||
/// </summary>
|
|
||||||
public interface IActivityLogWebSocketListener
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
#pragma warning disable CA1040 // Avoid empty interfaces
|
|
||||||
namespace Jellyfin.Api.WebSocketListeners
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Defines the <see cref="IScheduledTasksWebSocketListener" />.
|
|
||||||
/// </summary>
|
|
||||||
public interface IScheduledTasksWebSocketListener
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
#pragma warning disable CA1040 // Avoid empty interfaces
|
|
||||||
namespace Jellyfin.Api.WebSocketListeners
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Defines the <see cref="ISessionInfoWebSocketListener" />.
|
|
||||||
/// </summary>
|
|
||||||
public interface ISessionInfoWebSocketListener
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue