类 GenIdNioSocketChannel

java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.nio.AbstractNioChannel
io.netty.channel.nio.AbstractNioMessageChannel
io.netty.channel.socket.nio.NioServerSocketChannel
com.walker.tcp.netty.GenIdNioSocketChannel
所有已实现的接口:
io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.channel.ServerChannel, io.netty.channel.socket.ServerSocketChannel, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>

@Deprecated public class GenIdNioSocketChannel extends io.netty.channel.socket.nio.NioServerSocketChannel
已过时。
生成长连接通道ID。自定义该对象。
作者:
时克英
  • 嵌套类概要

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

    io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe

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

    io.netty.channel.AbstractChannel.AbstractUnsafe

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

    io.netty.channel.Channel.Unsafe
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final org.slf4j.Logger
    已过时。
     

    从类继承的字段 io.netty.channel.nio.AbstractNioChannel

    readInterestOp
  • 构造器概要

    构造器
    构造器
    说明
    已过时。
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected int
    已过时。
     
    protected io.netty.channel.ChannelId
    已过时。
     

    从类继承的方法 io.netty.channel.socket.nio.NioServerSocketChannel

    closeOnReadError, config, doBind, doClose, doConnect, doDisconnect, doFinishConnect, doWriteMessage, filterOutboundMessage, isActive, javaChannel, localAddress, localAddress0, metadata, remoteAddress, remoteAddress0

    从类继承的方法 io.netty.channel.nio.AbstractNioMessageChannel

    continueOnWriteError, continueReading, doBeginRead, doWrite, newUnsafe

    从类继承的方法 io.netty.channel.nio.AbstractNioChannel

    clearReadPending, doDeregister, doRegister, eventLoop, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, selectionKey, setReadPending, unsafe

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

    alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doShutdownOutput, equals, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush

    从类继承的方法 io.netty.util.DefaultAttributeMap

    attr, hasAttr

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

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 io.netty.util.AttributeMap

    attr, hasAttr

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

    alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isOpen, isRegistered, isWritable, parent, pipeline, read, unsafe

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

    bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlush

    从接口继承的方法 java.lang.Comparable

    compareTo
  • 字段详细资料

    • logger

      protected final transient org.slf4j.Logger logger
      已过时。
  • 构造器详细资料

    • GenIdNioSocketChannel

      public GenIdNioSocketChannel()
      已过时。
  • 方法详细资料

    • doReadMessages

      protected int doReadMessages(List<Object> buf) throws Exception
      已过时。
      覆盖:
      doReadMessages 在类中 io.netty.channel.socket.nio.NioServerSocketChannel
      抛出:
      Exception
    • newId

      protected io.netty.channel.ChannelId newId()
      已过时。
      覆盖:
      newId 在类中 io.netty.channel.AbstractChannel