} else if (e instanceof WriteCompletionEvent) { WriteCompletionEvent evt = (WriteCompletionEvent) e; writeComplete(ctx, evt); } else if (e instanceof ChildChannelStateEvent) { ChildChannelStateEvent evt = (ChildChannelStateEvent) e;
@Override public void writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) throws Exception { // logger.info("Write complete"); super.writeComplete(ctx, e); }
@Override public void writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) throws Exception { super.writeComplete(ctx, e); this.writtenBytes.addAndGet(e.getWrittenAmount()); }
@Override public void writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) throws Exception { super.writeComplete(ctx, e); this.writtenBytes.addAndGet(e.getWrittenAmount()); } @Override
@Override public void writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) throws Exception { super.writeComplete(ctx, e); this.writtenBytes.addAndGet(e.getWrittenAmount()); }
@Override public void writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e) throws Exception { transportServiceAdapter.addBytesSent(e.getWrittenAmount()); super.writeComplete(ctx, e); }