From bc657237aa4c541fe0079fcbb7616dbe87bbf0a7 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 18 Jul 2014 21:28:40 -0400 Subject: consolidate web socket onto one port --- MediaBrowser.Common/Net/IServerManager.cs | 11 ---------- MediaBrowser.Common/Net/IWebSocketServer.cs | 32 ----------------------------- 2 files changed, 43 deletions(-) delete mode 100644 MediaBrowser.Common/Net/IWebSocketServer.cs (limited to 'MediaBrowser.Common/Net') diff --git a/MediaBrowser.Common/Net/IServerManager.cs b/MediaBrowser.Common/Net/IServerManager.cs index 7c14f98ce..f6ac0ab68 100644 --- a/MediaBrowser.Common/Net/IServerManager.cs +++ b/MediaBrowser.Common/Net/IServerManager.cs @@ -10,12 +10,6 @@ namespace MediaBrowser.Common.Net /// public interface IServerManager : IDisposable { - /// - /// Gets a value indicating whether [supports web socket]. - /// - /// true if [supports web socket]; otherwise, false. - bool SupportsNativeWebSocket { get; } - /// /// Gets the web socket port number. /// @@ -28,11 +22,6 @@ namespace MediaBrowser.Common.Net /// The URL prefixes. void Start(IEnumerable urlPrefixes); - /// - /// Starts the web socket server. - /// - void StartWebSocketServer(); - /// /// Sends a message to all clients currently connected via a web socket /// diff --git a/MediaBrowser.Common/Net/IWebSocketServer.cs b/MediaBrowser.Common/Net/IWebSocketServer.cs deleted file mode 100644 index 187e03e09..000000000 --- a/MediaBrowser.Common/Net/IWebSocketServer.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace MediaBrowser.Common.Net -{ - /// - /// Interface IWebSocketServer - /// - public interface IWebSocketServer : IDisposable - { - /// - /// Starts the specified port number. - /// - /// The port number. - void Start(int portNumber); - - /// - /// Stops this instance. - /// - void Stop(); - - /// - /// Occurs when [web socket connected]. - /// - event EventHandler WebSocketConnected; - - /// - /// Gets the port. - /// - /// The port. - int Port { get; } - } -} -- cgit v1.2.3