public class ProxyConnectionPipeHandler extends ChannelInboundHandlerAdapter
ChannelInboundHandler that writes all incoming data to the
specified proxy connection.ChannelHandler.Sharable| Modifier and Type | Field and Description |
|---|---|
private ProxyConnection<?> |
sink |
| Constructor and Description |
|---|
ProxyConnectionPipeHandler(ProxyConnection<?> sink) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(ChannelHandlerContext ctx) |
void |
channelRead(ChannelHandlerContext ctx,
Object msg) |
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedprivate final ProxyConnection<?> sink
public ProxyConnectionPipeHandler(ProxyConnection<?> sink)
public void channelRead(ChannelHandlerContext ctx, Object msg)
channelRead in interface ChannelInboundHandlerchannelRead in class ChannelInboundHandlerAdapterpublic void channelInactive(ChannelHandlerContext ctx)
channelInactive in interface ChannelInboundHandlerchannelInactive in class ChannelInboundHandlerAdapterCopyright © 2009–2021. All rights reserved.