@Deprecated public class Publisher extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Publisher.AsyncNotificationCallback
Deprecated.
A callback interface for asynchronous notifications.
|
| Constructor and Description |
|---|
Publisher()
Deprecated.
Constructs a new publisher.
|
Publisher(ThreadPoolExecutor executor)
Deprecated.
Constructs a new publisher with an optional ThreadPoolExector for sending updates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
sendUpdateNotification(String hub,
String topic)
Deprecated.
Sends the HUB url a notification of a change in topic
|
void |
sendUpdateNotification(String topic,
SyndFeed feed)
Deprecated.
Sends a notification for a feed located at "topic".
|
void |
sendUpdateNotification(SyndFeed feed)
Deprecated.
Sends a notification for a feed.
|
void |
sendUpdateNotificationAsyncronously(String hub,
String topic,
Publisher.AsyncNotificationCallback callback)
Deprecated.
Sends the HUB url a notification of a change in topic asynchronously
|
void |
sendUpdateNotificationAsyncronously(String topic,
SyndFeed feed,
Publisher.AsyncNotificationCallback callback)
Deprecated.
Asynchronously sends a notification for a feed located at "topic".
|
void |
sendUpdateNotificationAsyncronously(SyndFeed feed,
Publisher.AsyncNotificationCallback callback)
Deprecated.
Asyncronously sends a notification for a feed.
|
public Publisher()
public Publisher(ThreadPoolExecutor executor)
public void sendUpdateNotification(String hub, String topic) throws NotificationException
hub - URL of the hub to notify.topic - The Topic that has changedNotificationException - Any failurepublic void sendUpdateNotification(String topic, SyndFeed feed) throws NotificationException
topic - URL for the feedfeed - The feed itselfNotificationException - Any failurepublic void sendUpdateNotification(SyndFeed feed) throws NotificationException
feed - The feed to notifyNotificationException - Any failurepublic void sendUpdateNotificationAsyncronously(String hub, String topic, Publisher.AsyncNotificationCallback callback)
hub - URL of the hub to notify.topic - The Topic that has changedcallback - A callback invoked when the notification completes.NotificationException - Any failurepublic void sendUpdateNotificationAsyncronously(String topic, SyndFeed feed, Publisher.AsyncNotificationCallback callback)
topic - URL for the feedfeed - The feed itselfcallback - A callback invoked when the notification completes.NotificationException - Any failurepublic void sendUpdateNotificationAsyncronously(SyndFeed feed, Publisher.AsyncNotificationCallback callback)
feed - The feed to notifycallback - A callback invoked when the notification completes.NotificationException - Any failureCopyright © 2025. All rights reserved.