public class Socks5CommandRequestDecoder
extends io.netty.handler.codec.ReplayingDecoder<io.netty.handler.codec.socksx.v5.Socks5CommandRequestDecoder.State>
Socks5CommandRequest
from the inbound ByteBuf
s.
On successful decode, this decoder will forward the received data to the next handler, so that
other handler can remove or replace this decoder later. On failed decode, this decoder will
discard the received data, so that other handler closes the connection later.Constructor and Description |
---|
Socks5CommandRequestDecoder() |
Socks5CommandRequestDecoder(Socks5AddressDecoder addressDecoder) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
callDecode, checkpoint, checkpoint, state, state
actualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public Socks5CommandRequestDecoder()
public Socks5CommandRequestDecoder(Socks5AddressDecoder addressDecoder)
Copyright © 2008–2019 The Netty Project. All rights reserved.