public class AsyncChannel extends AbstractChannel
clientType, factory, gravity, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, receiver, sessionId, subscriptions, udpReceiver, userPrincipal| Constructor and Description |
|---|
AsyncChannel(GravityInternal gravity,
java.lang.String id,
AsyncChannelFactory factory,
java.lang.String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy(boolean timeout) |
protected boolean |
hasAsyncHttpContext() |
protected void |
releaseAsyncHttpContext(AsyncHttpContext context) |
void |
setAsyncContext(javax.servlet.AsyncContext asyncContext) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSubscriptions, getUserPrincipal, hashCode, hasPublishedMessage, hasReceivedMessage, isAuthenticated, isConnected, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, setUserPrincipal, toStringpublic AsyncChannel(GravityInternal gravity, java.lang.String id, AsyncChannelFactory factory, java.lang.String clientType)
public void setAsyncContext(javax.servlet.AsyncContext asyncContext)
protected boolean hasAsyncHttpContext()
hasAsyncHttpContext in class AbstractChannelprotected AsyncHttpContext acquireAsyncHttpContext()
acquireAsyncHttpContext in class AbstractChannelprotected void releaseAsyncHttpContext(AsyncHttpContext context)
releaseAsyncHttpContext in class AbstractChannelpublic void destroy(boolean timeout)
destroy in interface Channeldestroy in class AbstractChannelpublic void close()