diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-19 18:28:35 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-19 18:28:35 -0400 |
| commit | fda7ff5bf2795cb03ee2a5355c8003da31bf24f9 (patch) | |
| tree | 52e7989d001e42b2c14fd50532b9c964f91242af /MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs | |
| parent | b48d15296c1708545f358dc0ccbc48fea9b2cf00 (diff) | |
chromecast updates
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs index 3b4379e37..386c16513 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs @@ -1,7 +1,5 @@ using MediaBrowser.Common.Net; using MediaBrowser.Controller; -using MediaBrowser.Controller.Configuration; -using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Plugins; using MediaBrowser.Model.Logging; using MediaBrowser.Model.Serialization; @@ -29,32 +27,22 @@ namespace MediaBrowser.Server.Implementations.EntryPoints /// The _network manager /// </summary> private readonly INetworkManager _networkManager; - /// <summary> - /// The _server configuration manager - /// </summary> - private readonly IServerConfigurationManager _serverConfigurationManager; - /// <summary> - /// The _HTTP server - /// </summary> - private readonly IHttpServer _httpServer; private readonly IServerApplicationHost _appHost; private readonly IJsonSerializer _json; public const int PortNumber = 7359; /// <summary> - /// Initializes a new instance of the <see cref="UdpServerEntryPoint"/> class. + /// Initializes a new instance of the <see cref="UdpServerEntryPoint" /> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="networkManager">The network manager.</param> - /// <param name="serverConfigurationManager">The server configuration manager.</param> - /// <param name="httpServer">The HTTP server.</param> - public UdpServerEntryPoint(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer, IServerApplicationHost appHost, IJsonSerializer json) + /// <param name="appHost">The application host.</param> + /// <param name="json">The json.</param> + public UdpServerEntryPoint(ILogger logger, INetworkManager networkManager, IServerApplicationHost appHost, IJsonSerializer json) { _logger = logger; _networkManager = networkManager; - _serverConfigurationManager = serverConfigurationManager; - _httpServer = httpServer; _appHost = appHost; _json = json; } @@ -64,7 +52,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints /// </summary> public void Run() { - var udpServer = new UdpServer(_logger, _networkManager, _serverConfigurationManager, _httpServer, _appHost, _json); + var udpServer = new UdpServer(_logger, _networkManager, _appHost, _json); try { |
