com.liferay.portal.kernel.poller.comet
Class BaseCometHandler
java.lang.Object
com.liferay.portal.kernel.poller.comet.BaseCometHandler
- All Implemented Interfaces:
- CometHandler
public abstract class BaseCometHandler
- extends java.lang.Object
- implements CometHandler
- Author:
- Edward Han, Brian Wing Shun Chan
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseCometHandler
public BaseCometHandler()
clone
public abstract CometHandler clone()
- Specified by:
clone in interface CometHandler- Overrides:
clone in class java.lang.Object
destroy
public void destroy()
throws CometException
- Specified by:
destroy in interface CometHandler
- Throws:
CometException
getCometSession
public CometSession getCometSession()
- Specified by:
getCometSession in interface CometHandler
getCometState
public CometState getCometState()
- Specified by:
getCometState in interface CometHandler
init
public void init(CometSession cometSession)
throws CometException
- Specified by:
init in interface CometHandler
- Throws:
CometException
receiveData
public void receiveData(char[] data)
throws CometException
- Specified by:
receiveData in interface CometHandler
- Throws:
CometException
doDestroy
protected void doDestroy()
throws java.lang.Exception
- Throws:
java.lang.Exception
doInit
protected void doInit(CometSession cometSession)
throws java.lang.Exception
- Throws:
java.lang.Exception