From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- MediaBrowser.Controller/Net/IServerManager.cs | 65 --------------------------- 1 file changed, 65 deletions(-) delete mode 100644 MediaBrowser.Controller/Net/IServerManager.cs (limited to 'MediaBrowser.Controller/Net/IServerManager.cs') diff --git a/MediaBrowser.Controller/Net/IServerManager.cs b/MediaBrowser.Controller/Net/IServerManager.cs deleted file mode 100644 index a84c48c5b..000000000 --- a/MediaBrowser.Controller/Net/IServerManager.cs +++ /dev/null @@ -1,65 +0,0 @@ -using MediaBrowser.Model.Events; -using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Net -{ - /// - /// Interface IServerManager - /// - public interface IServerManager : IDisposable - { - /// - /// Starts this instance. - /// - /// The URL prefixes. - void Start(string[] urlPrefixes); - - /// - /// Sends a message to all clients currently connected via a web socket - /// - /// - /// Type of the message. - /// The data. - /// Task. - void SendWebSocketMessage(string messageType, T data); - - /// - /// Sends a message to all clients currently connected via a web socket - /// - /// - /// Type of the message. - /// The function that generates the data to send, if there are any connected clients - void SendWebSocketMessage(string messageType, Func dataFunction); - - /// - /// Sends a message to all clients currently connected via a web socket - /// - /// - /// Type of the message. - /// The function that generates the data to send, if there are any connected clients - /// The cancellation token. - /// Task. - /// messageType - Task SendWebSocketMessageAsync(string messageType, Func dataFunction, CancellationToken cancellationToken); - - /// - /// Adds the web socket listeners. - /// - /// The listeners. - void AddWebSocketListeners(IEnumerable listeners); - - /// - /// Gets the web socket connections. - /// - /// The web socket connections. - IEnumerable WebSocketConnections { get; } - - /// - /// Occurs when [web socket connected]. - /// - event EventHandler> WebSocketConnected; - } -} \ No newline at end of file -- cgit v1.2.3