org.granite.gravity.servlet3
Class AsyncChannel
java.lang.Object
org.granite.gravity.AbstractChannel
org.granite.gravity.servlet3.AsyncChannel
- All Implemented Interfaces:
- Channel
- Direct Known Subclasses:
- JMFAsyncChannel
public class AsyncChannel
- extends AbstractChannel
- Author:
- Franck WOLFF
| Fields inherited from class org.granite.gravity.AbstractChannel |
clientType, factory, gravity, httpReceiver, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, sessionId, subscriptions, udpReceiver |
| Methods inherited from class org.granite.gravity.AbstractChannel |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, toString |
AsyncChannel
public AsyncChannel(Gravity gravity,
String id,
AsyncChannelFactory factory,
String clientType)
setAsyncContext
public void setAsyncContext(AsyncContext asyncContext)
hasAsyncHttpContext
protected boolean hasAsyncHttpContext()
- Specified by:
hasAsyncHttpContext in class AbstractChannel
acquireAsyncHttpContext
protected AsyncHttpContext acquireAsyncHttpContext()
- Specified by:
acquireAsyncHttpContext in class AbstractChannel
releaseAsyncHttpContext
protected void releaseAsyncHttpContext(AsyncHttpContext context)
- Specified by:
releaseAsyncHttpContext in class AbstractChannel
destroy
public void destroy()
- Overrides:
destroy in class AbstractChannel
close
public void close()