public abstract class BaseCometSession extends Object implements CometSession
Constructor and Description |
---|
BaseCometSession() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract void |
doClose() |
CometRequest |
getCometRequest() |
CometResponse |
getCometResponse() |
String |
getSessionId() |
void |
setCometRequest(CometRequest cometRequest) |
void |
setCometResponse(CometResponse cometResponse) |
void |
setSessionId(String sessionId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, setAttribute
public void close() throws CometException
close
in interface CometSession
CometException
public CometRequest getCometRequest()
getCometRequest
in interface CometSession
public CometResponse getCometResponse()
getCometResponse
in interface CometSession
public String getSessionId()
getSessionId
in interface CometSession
public void setCometRequest(CometRequest cometRequest)
setCometRequest
in interface CometSession
public void setCometResponse(CometResponse cometResponse)
setCometResponse
in interface CometSession
public void setSessionId(String sessionId)
setSessionId
in interface CometSession
protected abstract void doClose() throws Exception
Exception