- private final DataBroker dataBroker;
- private final MountPointService mountPointService;
- private final RpcProviderRegistry rpcProviderRegistry;
- private RendererNotificationsImpl rendererNotificationImpl;
- private RpcRegistration<RendererService> deviceRendererRegistration;
- private final Set<String> currentMountedDevice;
-
- public RendererProvider(final DataBroker dataBroker, final MountPointService mountPointService,
- final RpcProviderRegistry rpcProviderRegistry) {
- this.dataBroker = dataBroker;
- this.mountPointService = mountPointService;
- this.rpcProviderRegistry = rpcProviderRegistry;
- this.currentMountedDevice = new HashSet<>();
- if (mountPointService == null) {
- LOG.error("Mount service is null");
- }
+ private final RpcProviderService rpcProviderService;
+ private DeviceRendererRPCImpl deviceRendererRPCImpl;
+ private ObjectRegistration<DeviceRendererRPCImpl> deviceRendererRegistration;
+ private ObjectRegistration<TransportpceRendererService> tpceServiceRegistry;
+ private RendererServiceOperations rendererServiceOperations;
+
+ public RendererProvider(RpcProviderService rpcProviderService, DeviceRendererRPCImpl deviceRendererRPCImpl,
+ RendererServiceOperations rendererServiceOperations) {
+ this.rpcProviderService = rpcProviderService;
+ this.deviceRendererRPCImpl = deviceRendererRPCImpl;
+ this.rendererServiceOperations = rendererServiceOperations;