Uses of Interface
eu.cloudnetservice.driver.network.http.websocket.WebSocketChannel
Packages that use WebSocketChannel
Package
Description
-
Uses of WebSocketChannel in eu.cloudnetservice.driver.network.http
Methods in eu.cloudnetservice.driver.network.http that return WebSocketChannelModifier and TypeMethodDescriptionHttpContext.webSocketChanel()Get the web socket channel to which this request was upgraded.Methods in eu.cloudnetservice.driver.network.http that return types with arguments of type WebSocketChannelModifier and TypeMethodDescription@NonNull eu.cloudnetservice.common.concurrent.Task<WebSocketChannel>HttpContext.upgrade()Upgrades this context to a websocket connection. -
Uses of WebSocketChannel in eu.cloudnetservice.driver.network.http.websocket
Methods in eu.cloudnetservice.driver.network.http.websocket that return WebSocketChannelModifier and TypeMethodDescriptionWebSocketChannel.addListener(@NonNull WebSocketListener... listeners) Adds the given listeners to this web socket channel.WebSocketChannel.clearListeners()Removes all previously registered listeners from this channel.WebSocketChannel.removeListener(@NonNull WebSocketListener... listeners) Removes the given listeners from the channel if they were added previously.WebSocketChannel.removeListener(@NonNull ClassLoader classLoader) Removes all listeners from this channel whose classes were loaded by the given class loader.WebSocketChannel.sendWebSocketFrame(@NonNull WebSocketFrameType webSocketFrameType, byte[] bytes) Sends a web socket frame of the given type into this channel.WebSocketChannel.sendWebSocketFrame(@NonNull WebSocketFrameType webSocketFrameType, @NonNull String text) Sends a web socket frame of the given type into this channel.Methods in eu.cloudnetservice.driver.network.http.websocket with parameters of type WebSocketChannelModifier and TypeMethodDescriptionvoidWebSocketListener.handle(@NonNull WebSocketChannel channel, @NonNull WebSocketFrameType type, byte[] bytes) Handles each received web socket frame.default voidWebSocketListener.handleClose(@NonNull WebSocketChannel channel, @NonNull AtomicInteger statusCode, @NonNull AtomicReference<String> reasonText) Handles the close frame either send to the component or sent by the component. -
Uses of WebSocketChannel in eu.cloudnetservice.driver.network.netty.http
Classes in eu.cloudnetservice.driver.network.netty.http that implement WebSocketChannelModifier and TypeClassDescription(package private) final classThe default netty based implementation of a web socket channel.Methods in eu.cloudnetservice.driver.network.netty.http that return WebSocketChannelModifier and TypeMethodDescriptionNettyWebSocketServerChannel.addListener(@NonNull WebSocketListener... listeners) Adds the given listeners to this web socket channel.NettyWebSocketServerChannel.clearListeners()Removes all previously registered listeners from this channel.NettyWebSocketServerChannel.removeListener(@NonNull WebSocketListener... listeners) Removes the given listeners from the channel if they were added previously.NettyWebSocketServerChannel.removeListener(@NonNull ClassLoader classLoader) Removes all listeners from this channel whose classes were loaded by the given class loader.NettyWebSocketServerChannel.sendWebSocketFrame(@NonNull WebSocketFrameType webSocketFrameType, byte[] bytes) Sends a web socket frame of the given type into this channel.NettyWebSocketServerChannel.sendWebSocketFrame(@NonNull WebSocketFrameType type, @NonNull String text) Sends a web socket frame of the given type into this channel.NettyHttpServerContext.webSocketChanel()Get the web socket channel to which this request was upgraded.Methods in eu.cloudnetservice.driver.network.netty.http that return types with arguments of type WebSocketChannelModifier and TypeMethodDescription@NonNull eu.cloudnetservice.common.concurrent.Task<WebSocketChannel>NettyHttpServerContext.upgrade()Upgrades this context to a websocket connection.