public class SynchronousPollerChannelListener extends Object implements com.liferay.portal.kernel.notifications.ChannelListener
| Constructor and Description |
|---|
SynchronousPollerChannelListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelListenerRemoved(long channelId) |
String |
getNotificationEvents(long companyId,
long userId,
com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject,
long timeout) |
void |
notificationEventsAvailable(long channelId) |
public void channelListenerRemoved(long channelId)
channelListenerRemoved in interface com.liferay.portal.kernel.notifications.ChannelListenerpublic String getNotificationEvents(long companyId, long userId, com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject, long timeout) throws com.liferay.portal.kernel.notifications.ChannelException
com.liferay.portal.kernel.notifications.ChannelExceptionpublic void notificationEventsAvailable(long channelId)
notificationEventsAvailable in interface com.liferay.portal.kernel.notifications.ChannelListener