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.ChannelListener
public 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.ChannelException
public void notificationEventsAvailable(long channelId)
notificationEventsAvailable
in interface com.liferay.portal.kernel.notifications.ChannelListener