Liferay 6.2-ce-ga5

com.liferay.portal.kernel.poller.comet
Class BaseCometHandler

java.lang.Object
  extended by com.liferay.portal.kernel.poller.comet.BaseCometHandler
All Implemented Interfaces:
CometHandler
Direct Known Subclasses:
PollerCometHandler

public abstract class BaseCometHandler
extends Object
implements CometHandler


Constructor Summary
BaseCometHandler()
           
 
Method Summary
abstract  CometHandler clone()
           
 void destroy()
           
protected  void doDestroy()
           
protected  void doInit(CometSession cometSession)
           
 CometSession getCometSession()
           
 CometState getCometState()
           
 void init(CometSession cometSession)
           
 void receiveData(char[] data)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.poller.comet.CometHandler
receiveData
 

Constructor Detail

BaseCometHandler

public BaseCometHandler()
Method Detail

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

Liferay 6.2-ce-ga5