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 Object
- implements CometHandler
BaseCometHandler
public BaseCometHandler()
clone
public abstract CometHandler clone()
- Specified by:
clone
in interface CometHandler
- Overrides:
clone
in class 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 Exception
- Throws:
Exception
doInit
protected void doInit(CometSession cometSession)
throws Exception
- Throws:
Exception