/** * Calculate notification delta. * * @param appToken application token * @param context context * @param syncRequest the sync request * @return the gets the notification response */ private GetNotificationResponse calculateNotificationDelta(String appToken, NotificationClientSync syncRequest, SyncContext context) { GetNotificationRequest request = new GetNotificationRequest( syncRequest.getTopicListHash(), context.getEndpointProfile(), syncRequest.getSubscriptionCommands(), syncRequest.getAcceptedUnicastNotifications(), syncRequest.getTopicStates()); return notificationDeltaService.getNotificationDelta(request); }