Uses of Enum Class
eu.cloudnetservice.driver.network.http.websocket.WebSocketFrameType
Packages that use WebSocketFrameType
Package
Description
-
Uses of WebSocketFrameType in eu.cloudnetservice.driver.network.http.websocket
Methods in eu.cloudnetservice.driver.network.http.websocket that return WebSocketFrameTypeModifier and TypeMethodDescriptionstatic WebSocketFrameTypeReturns the enum constant of this class with the specified name.static WebSocketFrameType[]WebSocketFrameType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in eu.cloudnetservice.driver.network.http.websocket with parameters of type WebSocketFrameTypeModifier and TypeMethodDescriptionvoidWebSocketListener.handle(@NonNull WebSocketChannel channel, @NonNull WebSocketFrameType type, byte[] bytes) Handles each received web socket frame.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. -
Uses of WebSocketFrameType in eu.cloudnetservice.driver.network.netty.http
Methods in eu.cloudnetservice.driver.network.netty.http with parameters of type WebSocketFrameTypeModifier and TypeMethodDescriptionprivate voidNettyWebSocketServerChannelHandler.invoke0(@NonNull WebSocketFrameType type, @NonNull io.netty5.handler.codec.http.websocketx.WebSocketFrame webSocketFrame) Invokes all handlers when a web socket frame was received.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.