public class RuntimeEngine
extends java.lang.Object
| Constructor and Description |
|---|
RuntimeEngine(BridgeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
<U> io.netty.channel.Channel |
find(U id)
Return the underlying
Channel. |
java.util.Set<org.atmosphere.websocket.WebSocket> |
findAllWebSockets()
Return all connected
WebSocket. |
<U> org.atmosphere.websocket.WebSocket |
findWebSocket(U id)
Retrieve the associated
WebSocket attached to the Channel |
io.netty.channel.group.ChannelGroup |
httpChannels()
Return the
ChannelGroup associated with HTTP requests. |
io.netty.channel.group.ChannelGroup |
websocketChannels()
Return the
ChannelGroup associated with websocket requests. |
public RuntimeEngine(BridgeRuntime runtime)
public <U> io.netty.channel.Channel find(U id)
Channel.id - the unique Channel ID.Channel.public <U> org.atmosphere.websocket.WebSocket findWebSocket(U 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 io.netty.channel.group.ChannelGroup httpChannels()
ChannelGroup associated with HTTP requests.ChannelGroup associated with HTTP requests.public io.netty.channel.group.ChannelGroup websocketChannels()
ChannelGroup associated with websocket requests.ChannelGroup associated with websocket requests.Copyright © 2018. All Rights Reserved.