类 WebsocketServerBaseHandler

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

public class WebsocketServerBaseHandler extends io.netty.channel.ChannelInboundHandlerAdapter implements IChannelHandler, cn.godmao.common.Init.Init1<AbstractServer<IChannel<?>>>
另请参阅:
  • 构造器详细资料

    • WebsocketServerBaseHandler

      public WebsocketServerBaseHandler()
  • 方法详细资料

    • init

      public void init(AbstractServer<IChannel<?>> abstractServer)
      指定者:
      init 在接口中 cn.godmao.common.Init.Init1<AbstractServer<IChannel<?>>>
    • channelActive

      public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      channelActive 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelActive 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception
    • 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