public class WebSocketClientHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
Constructor and Description |
---|
WebSocketClientHandler(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.channel.ChannelFuture |
handshakeFuture() |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
acceptInboundMessage, channelRead
public WebSocketClientHandler(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker)
public io.netty.channel.ChannelFuture handshakeFuture()
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive
in interface io.netty.channel.ChannelHandler
channelActive
in class io.netty.channel.ChannelHandlerAdapter
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive
in interface io.netty.channel.ChannelHandler
channelInactive
in class io.netty.channel.ChannelHandlerAdapter
public void messageReceived(io.netty.channel.ChannelHandlerContext ctx, Object msg)
messageReceived
in class io.netty.channel.SimpleChannelInboundHandler<Object>
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in class io.netty.channel.ChannelHandlerAdapter
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.