com.liferay.portal.liveusers.messaging
Class LiveUsersMessageListener

java.lang.Object
  extended by com.liferay.portal.liveusers.messaging.LiveUsersMessageListener
All Implemented Interfaces:
com.liferay.portal.kernel.messaging.MessageListener

public class LiveUsersMessageListener
extends java.lang.Object
implements com.liferay.portal.kernel.messaging.MessageListener

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
LiveUsersMessageListener()
           
 
Method Summary
protected  void doCommandSignIn(com.liferay.portal.kernel.json.JSONObject jsonObj)
           
protected  void doCommandSignOut(com.liferay.portal.kernel.json.JSONObject jsonObj)
           
 void doReceive(java.lang.String message)
           
 void receive(java.lang.Object message)
           
 void receive(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveUsersMessageListener

public LiveUsersMessageListener()
Method Detail

receive

public void receive(java.lang.Object message)
Specified by:
receive in interface com.liferay.portal.kernel.messaging.MessageListener

receive

public void receive(java.lang.String message)
Specified by:
receive in interface com.liferay.portal.kernel.messaging.MessageListener

doReceive

public void doReceive(java.lang.String message)
               throws java.lang.Exception
Throws:
java.lang.Exception

doCommandSignIn

protected void doCommandSignIn(com.liferay.portal.kernel.json.JSONObject jsonObj)
                        throws java.lang.Exception
Throws:
java.lang.Exception

doCommandSignOut

protected void doCommandSignOut(com.liferay.portal.kernel.json.JSONObject jsonObj)
                         throws java.lang.Exception
Throws:
java.lang.Exception