public class AsyncChannel extends AbstractChannel
clientType, factory, gravity, httpReceiver, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, sessionId, subscriptions, udpReceiver| Constructor and Description |
|---|
AsyncChannel(Gravity gravity,
String id,
AsyncChannelFactory factory,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy() |
protected boolean |
hasAsyncHttpContext() |
protected void |
releaseAsyncHttpContext(AsyncHttpContext context) |
void |
setAsyncContext(AsyncContext asyncContext) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, toStringpublic AsyncChannel(Gravity gravity, String id, AsyncChannelFactory factory, String clientType)
public void setAsyncContext(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()
destroy in class AbstractChannelpublic void close()