public static void registerServices(final RpcContext rpcContext, final DeviceContext deviceContext) {
rpcContext.registerRpcServiceImplementation(SalFlowService.class, new SalFlowServiceImpl(rpcContext, deviceContext));
+ //TODO: add constructors with rcpContext and deviceContext to meter, group, table constructors
rpcContext.registerRpcServiceImplementation(SalMeterService.class, new SalMeterServiceImpl());
rpcContext.registerRpcServiceImplementation(SalGroupService.class, new SalGroupServiceImpl());
rpcContext.registerRpcServiceImplementation(SalTableService.class, new SalTableServiceImpl());
- rpcContext.registerRpcServiceImplementation(PacketProcessingService.class, new PacketProcessingServiceImpl());
+ rpcContext.registerRpcServiceImplementation(PacketProcessingService.class, new PacketProcessingServiceImpl(rpcContext, deviceContext));
rpcContext.registerRpcServiceImplementation(NodeConfigService.class, new NodeConfigServiceImpl());
}
}