@ -6,9 +6,9 @@ using Microsoft.Extensions.Logging;
namespace Emby.Dlna.Service
{
public class BaseService : I EventManager
public class BaseService : I Dlna EventManager
{
protected I EventManager EventManager;
protected I Dlna EventManager _dlna EventManager;
protected IHttpClient HttpClient ;
protected ILogger Logger ;
@ -17,22 +17,22 @@ namespace Emby.Dlna.Service
Logger = logger ;
HttpClient = httpClient ;
EventManager = new EventManager( logger , HttpClient ) ;
_dlna EventManager = new Dlna EventManager( logger , HttpClient ) ;
}
public EventSubscriptionResponse CancelEventSubscription ( string subscriptionId )
{
return EventManager. CancelEventSubscription ( subscriptionId ) ;
return _dlna EventManager. CancelEventSubscription ( subscriptionId ) ;
}
public EventSubscriptionResponse RenewEventSubscription ( string subscriptionId , string notificationType , string timeoutString , string callbackUrl )
{
return EventManager. RenewEventSubscription ( subscriptionId , notificationType , timeoutString , callbackUrl ) ;
return _dlna EventManager. RenewEventSubscription ( subscriptionId , notificationType , timeoutString , callbackUrl ) ;
}
public EventSubscriptionResponse CreateEventSubscription ( string notificationType , string timeoutString , string callbackUrl )
{
return EventManager. CreateEventSubscription ( notificationType , timeoutString , callbackUrl ) ;
return _dlna EventManager. CreateEventSubscription ( notificationType , timeoutString , callbackUrl ) ;
}
}
}