Class RelayHandler
- java.lang.Object
-
- io.netty.contrib.handler.codec.example.socksproxy.RelayHandler
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
public final class RelayHandler extends Object implements io.netty5.channel.ChannelHandler
-
-
Constructor Summary
Constructors Constructor Description RelayHandler(io.netty5.channel.Channel relayChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelActive(io.netty5.channel.ChannelHandlerContext ctx)voidchannelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable cause)voidchannelInactive(io.netty5.channel.ChannelHandlerContext ctx)voidchannelRead(io.netty5.channel.ChannelHandlerContext ctx, Object msg)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelInboundEvent, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Method Detail
-
channelActive
public void channelActive(io.netty5.channel.ChannelHandlerContext ctx)
- Specified by:
channelActivein interfaceio.netty5.channel.ChannelHandler
-
channelRead
public void channelRead(io.netty5.channel.ChannelHandlerContext ctx, Object msg)- Specified by:
channelReadin interfaceio.netty5.channel.ChannelHandler
-
channelInactive
public void channelInactive(io.netty5.channel.ChannelHandlerContext ctx)
- Specified by:
channelInactivein interfaceio.netty5.channel.ChannelHandler
-
channelExceptionCaught
public void channelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable cause)- Specified by:
channelExceptionCaughtin interfaceio.netty5.channel.ChannelHandler
-
-