@ChannelHandler.Sharable
protected abstract class ProxyConnection.BytesWrittenMonitor
extends io.netty.channel.ChannelOutboundHandlerAdapter
Modifier | Constructor and Description |
---|---|
protected |
BytesWrittenMonitor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
bytesWritten(int numberOfBytes) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception
write
in interface io.netty.channel.ChannelOutboundHandler
write
in class io.netty.channel.ChannelOutboundHandlerAdapter
Exception
protected abstract void bytesWritten(int numberOfBytes)
Copyright © 2009–2018 LittleShoot. All rights reserved.