Liferay 6.2-ce-ga5

com.liferay.portal.poller
Class SynchronousPollerChannelListener

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

public class SynchronousPollerChannelListener
extends Object
implements ChannelListener


Constructor Summary
SynchronousPollerChannelListener()
           
 
Method Summary
 void channelListenerRemoved(long channelId)
           
 String getNotificationEvents(long companyId, long userId, JSONObject pollerResponseHeaderJSONObject, 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()
Method Detail

channelListenerRemoved

public void channelListenerRemoved(long channelId)
Specified by:
channelListenerRemoved in interface ChannelListener

getNotificationEvents

public String getNotificationEvents(long companyId,
                                    long userId,
                                    JSONObject pollerResponseHeaderJSONObject,
                                    long timeout)
                             throws ChannelException
Throws:
ChannelException

notificationEventsAvailable

public void notificationEventsAvailable(long channelId)
Specified by:
notificationEventsAvailable in interface ChannelListener

Liferay 6.2-ce-ga5