@Deprecated public abstract class AbstractNotifier extends Object implements Notifier
Notifier.SubscriptionSummaryCallback| Constructor and Description |
|---|
AbstractNotifier()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
enqueueNotification(Notification not)
Deprecated.
Implementation method that queues/sends a notification
|
void |
notifySubscribers(List<? extends Subscriber> subscribers,
SyndFeed value,
Notifier.SubscriptionSummaryCallback callback)
Deprecated.
This method will serialize the synd feed and build Notifications for the implementation class
to handle.
|
protected SubscriptionSummary |
postNotification(Subscriber subscriber,
String mimeType,
byte[] payload)
Deprecated.
POSTs the payload to the subscriber's callback and returns a SubscriptionSummary with
subscriber counts (where possible) and the success state of the notification.
|
public void notifySubscribers(List<? extends Subscriber> subscribers, SyndFeed value, Notifier.SubscriptionSummaryCallback callback)
notifySubscribers in interface Notifiersubscribers - List of subscribers to notifyvalue - The SyndFeed object to sendcallback - A callback that will be invoked each time a subscriber is notified.enqueueNotificationprotected abstract void enqueueNotification(Notification not)
not - notification to send.protected SubscriptionSummary postNotification(Subscriber subscriber, String mimeType, byte[] payload)
subscriber - subscriber data.mimeType - MIME type for the requestpayload - payload of the feed to sendCopyright © 2025. All rights reserved.