Interface NotificationService


  • public interface NotificationService
    Notification service that is responsible for distributing the real time message.
    Author:
    Filip Hrisafov
    • Method Detail

      • sendNotification

        <T> void sendNotification​(String userId,
                                  Notification notification,
                                  NotificationMessageProvider<T> messageProvider)
        Send a notification based on the given Notification with the message as a content.
        Parameters:
        userId - the id of the user to which the notification needs to be sent
        notification - the information for sending the notification
        messageProvider - the provider for the notification message