public class TomcatWebSocketChannel extends org.granite.gravity.AbstractChannel
| Modifier and Type | Class and Description |
|---|---|
class |
TomcatWebSocketChannel.MessageInboundImpl |
| Constructor and Description |
|---|
TomcatWebSocketChannel(org.granite.gravity.Gravity gravity,
String id,
TomcatWebSocketChannelFactory factory,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.granite.gravity.AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy() |
org.granite.util.ContentType |
getContentType() |
StreamInbound |
getStreamInbound() |
protected boolean |
hasAsyncHttpContext() |
protected void |
releaseAsyncHttpContext(org.granite.gravity.AsyncHttpContext context) |
boolean |
runReceived(org.granite.gravity.AsyncHttpContext asyncHttpContext) |
void |
setConnectAckMessage(flex.messaging.messages.Message ackMessage) |
void |
setContentType(org.granite.util.ContentType contentType) |
void |
setSession(HttpSession session) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, toStringpublic TomcatWebSocketChannel(org.granite.gravity.Gravity gravity, String id, TomcatWebSocketChannelFactory factory, String clientType)
public void setSession(HttpSession session)
public void setConnectAckMessage(flex.messaging.messages.Message ackMessage)
public org.granite.util.ContentType getContentType()
public void setContentType(org.granite.util.ContentType contentType)
public StreamInbound getStreamInbound()
public boolean runReceived(org.granite.gravity.AsyncHttpContext asyncHttpContext)
runReceived in interface org.granite.gravity.ChannelrunReceived in class org.granite.gravity.AbstractChannelpublic void destroy()
destroy in class org.granite.gravity.AbstractChannelpublic void close()
protected boolean hasAsyncHttpContext()
hasAsyncHttpContext in class org.granite.gravity.AbstractChannelprotected void releaseAsyncHttpContext(org.granite.gravity.AsyncHttpContext context)
releaseAsyncHttpContext in class org.granite.gravity.AbstractChannelprotected org.granite.gravity.AsyncHttpContext acquireAsyncHttpContext()
acquireAsyncHttpContext in class org.granite.gravity.AbstractChannel