public class TomcatWebSocketChannel extends AbstractChannel
| Modifier and Type | Class and Description |
|---|---|
class |
TomcatWebSocketChannel.MessageInboundImpl |
clientType, factory, gravity, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, receiver, sessionId, subscriptions| Constructor and Description |
|---|
TomcatWebSocketChannel(Gravity gravity,
String id,
TomcatWebSocketChannelFactory factory,
ServletContext servletContext,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy() |
org.apache.catalina.websocket.StreamInbound |
getStreamInbound() |
protected boolean |
hasAsyncHttpContext() |
protected void |
releaseAsyncHttpContext(AsyncHttpContext context) |
boolean |
runReceived(AsyncHttpContext asyncHttpContext) |
void |
setConnectAckMessage(Message ackMessage) |
addSubscription, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, toStringpublic TomcatWebSocketChannel(Gravity gravity, String id, TomcatWebSocketChannelFactory factory, ServletContext servletContext, String clientType)
public void setConnectAckMessage(Message ackMessage)
public org.apache.catalina.websocket.StreamInbound getStreamInbound()
public boolean runReceived(AsyncHttpContext asyncHttpContext)
runReceived in interface ChannelrunReceived in class AbstractChannelpublic void destroy()
destroy in interface Channeldestroy in class AbstractChannelpublic void close()
protected boolean hasAsyncHttpContext()
hasAsyncHttpContext in class AbstractChannelprotected void releaseAsyncHttpContext(AsyncHttpContext context)
releaseAsyncHttpContext in class AbstractChannelprotected AsyncHttpContext acquireAsyncHttpContext()
acquireAsyncHttpContext in class AbstractChannel