Interface NotificationService
public interface NotificationService
Notification service that is responsible for distributing the real time message.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescription<T> void
sendNotification
(String userId, Notification notification, NotificationMessageProvider<T> messageProvider) Send a notification based on the givenNotification
with themessage
as a content.
-
Method Details
-
sendNotification
<T> void sendNotification(String userId, Notification notification, NotificationMessageProvider<T> messageProvider) Send a notification based on the givenNotification
with themessage
as 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
-