public class RuntimeEngine
extends java.lang.Object
| Constructor and Description |
|---|
RuntimeEngine(BridgeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
ChannelBufferPool |
channelBufferPool()
The
ChannelBufferPool when enabled. |
org.jboss.netty.channel.Channel |
find(int id)
Return the underlying
Channel. |
java.util.Set<org.atmosphere.websocket.WebSocket> |
findAllWebSockets()
Return all connected
WebSocket. |
org.atmosphere.websocket.WebSocket |
findWebSocket(int id)
Retrieve the associated
WebSocket attached to the Channel |
org.jboss.netty.channel.group.ChannelGroup |
httpChannels()
Return the
ChannelGroup associated with HTTP requests. |
org.jboss.netty.channel.group.ChannelGroup |
websocketChannels()
Return the
ChannelGroup associated with websocket requests. |
public RuntimeEngine(BridgeRuntime runtime)
public org.jboss.netty.channel.Channel find(int id)
Channel.id - the unique Channel ID.Channel.public org.atmosphere.websocket.WebSocket findWebSocket(int id)
WebSocket attached to the Channelid - the unique Channel ID.WebSocket attached to the Channelpublic java.util.Set<org.atmosphere.websocket.WebSocket> findAllWebSockets()
WebSocket.WebSocket.public org.jboss.netty.channel.group.ChannelGroup httpChannels()
ChannelGroup associated with HTTP requests.ChannelGroup associated with HTTP requests.public org.jboss.netty.channel.group.ChannelGroup websocketChannels()
ChannelGroup associated with websocket requests.ChannelGroup associated with websocket requests.public ChannelBufferPool channelBufferPool()
ChannelBufferPool when enabled.ChannelBufferPool when enabled.Copyright © 2018. All Rights Reserved.