org.granite.gravity.jetty
Class ContinuationChannel
java.lang.Object
org.granite.gravity.AbstractChannel
org.granite.gravity.jetty.ContinuationChannel
- All Implemented Interfaces:
- Channel
public class ContinuationChannel
- extends AbstractChannel
- Author:
- William DRAI
| Methods inherited from class org.granite.gravity.AbstractChannel |
addSubscription, equals, getGravity, getId, getServletConfig, getServletContext, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, publish, queueReceiver, removeSubscription, runPublish, runReceive, runReceived, toString |
ContinuationChannel
public ContinuationChannel(ServletConfig servletConfig,
GravityConfig gravityConfig,
String id)
setContinuation
public void setContinuation(Continuation continuation)
reset
public void reset()
resume
public void resume()
receive
public void receive(AsyncMessage message)
throws MessageReceivingException
- Specified by:
receive in interface Channel- Overrides:
receive in class AbstractChannel
- Throws:
MessageReceivingException
hasAsyncHttpContext
protected boolean hasAsyncHttpContext()
- Specified by:
hasAsyncHttpContext in class AbstractChannel
releaseAsyncHttpContext
protected void releaseAsyncHttpContext(AsyncHttpContext context)
- Specified by:
releaseAsyncHttpContext in class AbstractChannel
acquireAsyncHttpContext
protected AsyncHttpContext acquireAsyncHttpContext()
- Specified by:
acquireAsyncHttpContext in class AbstractChannel
isLocal
public boolean isLocal()
destroy
public void destroy()
- Specified by:
destroy in interface Channel- Overrides:
destroy in class AbstractChannel