类 SocksEncoder

  • 所有已实现的接口:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelOutboundHandler

    @Sharable
    public class SocksEncoder
    extends io.netty.handler.codec.MessageToMessageEncoder<T>
    • 嵌套类概要

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

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

      字段 
      修饰符和类型 字段 说明
      protected io.netty.util.internal.logging.InternalLogger logger  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected void encode​(io.netty.channel.ChannelHandlerContext ctx, Transportable in, List<Object> list)  
      void send​(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)  
      void write​(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)  
      • 从类继承的方法 io.netty.handler.codec.MessageToMessageEncoder

        acceptOutboundMessage
      • 从类继承的方法 io.netty.channel.ChannelOutboundHandlerAdapter

        bind, close, connect, deregister, disconnect, flush, read
      • 从类继承的方法 io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
      • 从接口继承的方法 io.netty.channel.ChannelHandler

        exceptionCaught, handlerAdded, handlerRemoved
    • 字段详细资料

      • logger

        protected io.netty.util.internal.logging.InternalLogger logger
    • 构造器详细资料

      • SocksEncoder

        public SocksEncoder()
    • 方法详细资料

      • write

        public void write​(io.netty.channel.ChannelHandlerContext ctx,
                          Object msg,
                          io.netty.channel.ChannelPromise promise)
                   throws Exception
        指定者:
        write 在接口中 io.netty.channel.ChannelOutboundHandler
        覆盖:
        write 在类中 io.netty.handler.codec.MessageToMessageEncoder<T extends Transportable>
        抛出:
        Exception
      • send

        @Async
        public void send​(io.netty.channel.ChannelHandlerContext ctx,
                         io.netty.channel.ChannelPromise promise)