@ChannelHandler.Sharable public final class Socks4ServerEncoder extends io.netty.handler.codec.MessageToByteEncoder<Socks4CommandResponse>
Socks4CommandResponse
into a ByteBuf
.Modifier and Type | Field and Description |
---|---|
static Socks4ServerEncoder |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Socks4CommandResponse msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public static final Socks4ServerEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx, Socks4CommandResponse msg, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<Socks4CommandResponse>
Exception
Copyright © 2008–2019 The Netty Project. All rights reserved.