类 WebsocketClientBaseHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
cn.godmao.getty.client.base.WebsocketClientBaseHandler
所有已实现的接口:
cn.godmao.common.Init, cn.godmao.common.Init.Init1<AbstractClient>, IChannelHandler, io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, Serializable

public class WebsocketClientBaseHandler extends io.netty.channel.ChannelInboundHandlerAdapter implements IChannelHandler, cn.godmao.common.Init.Init1<AbstractClient>
另请参阅:
  • 字段详细资料

    • log

      public final org.slf4j.Logger log
  • 构造器详细资料

    • WebsocketClientBaseHandler

      public WebsocketClientBaseHandler()
  • 方法详细资料

    • init

      public void init(AbstractClient server)
      指定者:
      init 在接口中 cn.godmao.common.Init.Init1<AbstractClient>
    • exceptionCaught

      public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
      指定者:
      exceptionCaught 在接口中 io.netty.channel.ChannelHandler
      指定者:
      exceptionCaught 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      exceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception
    • channelInactive

      public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      channelInactive 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelInactive 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception
    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
      指定者:
      channelRead 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelRead 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception
    • userEventTriggered

      public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt) throws Exception
      指定者:
      userEventTriggered 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      userEventTriggered 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception