- // Initializing Notification module
- rendererNotificationImpl = new RendererNotificationsImpl(dataBroker, mountPointService,
- currentMountedDevice);
- //Register REST API RPC implementation for Renderer Service
- deviceRendererRegistration = rpcProviderRegistry.addRpcImplementation(RendererService.class, new DeviceRenderer(
- dataBroker, mountPointService, currentMountedDevice));
+ TransportPCEServicePathRPCImpl transportPCEServicePathRPCImpl =
+ new TransportPCEServicePathRPCImpl(this.rendererServiceOperations);
+ this.deviceRendererRegistration = this.rpcProviderRegistry
+ .addRpcImplementation(RendererService.class, this.deviceRendererRPCImpl);
+ this.tpceServiceRegistry = this.rpcProviderRegistry
+ .addRpcImplementation(TransportpceServicepathService.class, transportPCEServicePathRPCImpl);
+ this.rendererNotificationsImpl = new RendererNotificationsImpl(this.dataBroker, this.mountPointService,
+ this.currentMountedDevice,this.portMapping,this.deviceTransactionManager);