@ConnectionScope public class MqttWebSocketClientProtocolHandler extends io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler
Modifier and Type | Field and Description |
---|---|
static @NotNull java.lang.String |
NAME |
Constructor and Description |
---|
MqttWebSocketClientProtocolHandler(@NotNull MqttClientConfig clientConfig,
@NotNull MqttWebSocketConfig webSocketConfig,
@NotNull MqttChannelInitializer channelInitializer) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSharable() |
void |
userEventTriggered(@NotNull io.netty.channel.ChannelHandlerContext ctx,
@NotNull java.lang.Object evt) |
decode, handlerAdded, handshaker
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
ensureNotSharable, handlerRemoved
@NotNull public static final @NotNull java.lang.String NAME
public MqttWebSocketClientProtocolHandler(@NotNull @NotNull MqttClientConfig clientConfig, @NotNull @NotNull MqttWebSocketConfig webSocketConfig, @NotNull @NotNull MqttChannelInitializer channelInitializer) throws java.net.URISyntaxException
java.net.URISyntaxException
public void userEventTriggered(@NotNull @NotNull io.netty.channel.ChannelHandlerContext ctx, @NotNull @NotNull java.lang.Object evt)
userEventTriggered
in interface io.netty.channel.ChannelInboundHandler
userEventTriggered
in class io.netty.channel.ChannelInboundHandlerAdapter
public boolean isSharable()
isSharable
in class io.netty.channel.ChannelHandlerAdapter