public class TomcatChannel extends AbstractChannel
clientType, factory, gravity, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, receiver, sessionId, subscriptions, udpReceiver, userPrincipal| Constructor and Description |
|---|
TomcatChannel(GravityInternal gravity,
java.lang.String id,
TomcatChannelFactory 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 |
setCometEvent(org.apache.catalina.CometEvent event) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSubscriptions, getUserPrincipal, hashCode, hasPublishedMessage, hasReceivedMessage, isAuthenticated, isConnected, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, setUserPrincipal, toStringpublic TomcatChannel(GravityInternal gravity, java.lang.String id, TomcatChannelFactory factory, java.lang.String clientType)
public void setCometEvent(org.apache.catalina.CometEvent event)
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()