Interface NotificationService
-
public interface NotificationServiceNotification service that is responsible for distributing the real time message.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidsendNotification(String userId, Notification notification, NotificationMessageProvider<T> messageProvider)Send a notification based on the givenNotificationwith themessageas a content.
-
-
-
Method Detail
-
sendNotification
<T> void sendNotification(String userId, Notification notification, NotificationMessageProvider<T> messageProvider)
Send a notification based on the givenNotificationwith themessageas a content.- Parameters:
userId- the id of the user to which the notification needs to be sentnotification- the information for sending the notificationmessageProvider- the provider for the notification message
-
-