public class TomcatWebSocketChannel extends AbstractWebSocketChannel
| Modifier and Type | Class and Description |
|---|---|
class |
TomcatWebSocketChannel.MessageInboundImpl |
clientType, factory, gravity, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, receiver, sessionId, subscriptions, udpReceiver, userPrincipal| Constructor and Description |
|---|
TomcatWebSocketChannel(GravityInternal gravity,
java.lang.String id,
TomcatWebSocketChannelFactory factory,
java.lang.String clientType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.catalina.websocket.StreamInbound |
getStreamInbound() |
boolean |
isConnected() |
protected void |
sendBytes(byte[] msg) |
acquireAsyncHttpContext, cleanupRequest, connect, deserialize, destroy, getContentType, getMaxBinaryMessageBufferSize, hasAsyncHttpContext, initializeRequest, receiveBytes, releaseAsyncHttpContext, runReceived, serialize, setConnectAckMessage, setContentType, setMaxBinaryMessageBufferSize, setSessionaddSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSubscriptions, getUserPrincipal, hashCode, hasPublishedMessage, hasReceivedMessage, isAuthenticated, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, setUserPrincipal, toStringpublic TomcatWebSocketChannel(GravityInternal gravity, java.lang.String id, TomcatWebSocketChannelFactory factory, java.lang.String clientType)
public org.apache.catalina.websocket.StreamInbound getStreamInbound()
public boolean isConnected()
isConnected in interface ChannelisConnected in class AbstractWebSocketChannelprotected void sendBytes(byte[] msg)
throws java.io.IOException
sendBytes in class AbstractWebSocketChanneljava.io.IOExceptionpublic void close()