public class PollerCometChannelListener
extends Object
implements com.liferay.portal.kernel.notifications.ChannelListener
| Constructor and Description |
|---|
PollerCometChannelListener(com.liferay.portal.kernel.poller.comet.CometSession cometSession,
com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelListenerRemoved(long channelId) |
void |
notificationEventsAvailable(long channelId) |
protected void |
sendProcessMessage() |
public PollerCometChannelListener(com.liferay.portal.kernel.poller.comet.CometSession cometSession,
com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject)
public void channelListenerRemoved(long channelId)
channelListenerRemoved in interface com.liferay.portal.kernel.notifications.ChannelListenerpublic void notificationEventsAvailable(long channelId)
notificationEventsAvailable in interface com.liferay.portal.kernel.notifications.ChannelListenerprotected void sendProcessMessage()