public abstract class BaseCometHandler extends Object implements CometHandler
Constructor and Description |
---|
BaseCometHandler() |
Modifier and Type | Method and Description |
---|---|
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) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
receiveData
public abstract CometHandler clone()
clone
in interface CometHandler
clone
in class Object
public void destroy() throws CometException
destroy
in interface CometHandler
CometException
public CometSession getCometSession()
getCometSession
in interface CometHandler
public CometState getCometState()
getCometState
in interface CometHandler
public void init(CometSession cometSession) throws CometException
init
in interface CometHandler
CometException
public void receiveData(char[] data) throws CometException
receiveData
in interface CometHandler
CometException
protected void doDestroy() throws Exception
Exception
protected void doInit(CometSession cometSession) throws Exception
Exception