com.liferay.portal.poller
Class SynchronousPollerChannelListener

java.lang.Object
  extended by com.liferay.portal.poller.SynchronousPollerChannelListener
All Implemented Interfaces:
com.liferay.portal.kernel.notifications.ChannelListener

public class SynchronousPollerChannelListener
extends java.lang.Object
implements com.liferay.portal.kernel.notifications.ChannelListener

Author:
Edward Han

Constructor Summary
SynchronousPollerChannelListener(long companyId, long userId, com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject)
           
 
Method Summary
 void channelListenerRemoved(long channelId)
           
 java.lang.String getNotificationEvents(long timeout)
           
 void notificationEventsAvailable(long channelId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousPollerChannelListener

public SynchronousPollerChannelListener(long companyId,
                                        long userId,
                                        com.liferay.portal.kernel.json.JSONObject pollerResponseHeaderJSONObject)
Method Detail

channelListenerRemoved

public void channelListenerRemoved(long channelId)
Specified by:
channelListenerRemoved in interface com.liferay.portal.kernel.notifications.ChannelListener

getNotificationEvents

public java.lang.String getNotificationEvents(long timeout)
                                       throws com.liferay.portal.kernel.notifications.ChannelException
Throws:
com.liferay.portal.kernel.notifications.ChannelException

notificationEventsAvailable

public void notificationEventsAvailable(long channelId)
Specified by:
notificationEventsAvailable in interface com.liferay.portal.kernel.notifications.ChannelListener