public class TomcatWebSocketChannel
extends org.granite.gravity.websocket.AbstractWebSocketChannel
| Modifier and Type | Class and Description |
|---|---|
class |
TomcatWebSocketChannel.MessageInboundImpl |
| Constructor and Description |
|---|
TomcatWebSocketChannel(org.granite.gravity.GravityInternal gravity,
String id,
TomcatWebSocketChannelFactory factory,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.catalina.websocket.StreamInbound |
getStreamInbound() |
protected 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, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, setUserPrincipal, toStringpublic TomcatWebSocketChannel(org.granite.gravity.GravityInternal gravity,
String id,
TomcatWebSocketChannelFactory factory,
String clientType)
public org.apache.catalina.websocket.StreamInbound getStreamInbound()
protected boolean isConnected()
isConnected in class org.granite.gravity.websocket.AbstractWebSocketChannelprotected void sendBytes(byte[] msg)
throws IOException
sendBytes in class org.granite.gravity.websocket.AbstractWebSocketChannelIOExceptionpublic void close()