类 HeartbeatHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
com.envisioniot.sub.client.internal.netty.HeartbeatHandler
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public class HeartbeatHandler
extends io.netty.channel.ChannelDuplexHandler
created by jie.jin on 2018/12/24.
  • 嵌套类概要

    从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • 字段概要

    字段
    修饰符和类型 字段 说明
    static boolean IS_BLOCKED  
  • 构造器概要

    构造器
    构造器 说明
    HeartbeatHandler()  
  • 方法概要

    修饰符和类型 方法 说明
    void userEventTriggered​(io.netty.channel.ChannelHandlerContext ctx, Object evt)  

    从类继承的方法 io.netty.channel.ChannelDuplexHandler

    bind, close, connect, deregister, disconnect, flush, read, write

    从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught

    从类继承的方法 io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerAdded, handlerRemoved, isSharable

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved
  • 字段详细资料

    • IS_BLOCKED

      public static final boolean IS_BLOCKED
      另请参阅:
      常量字段值
  • 构造器详细资料

    • HeartbeatHandler

      public HeartbeatHandler()
  • 方法详细资料

    • userEventTriggered

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