@Override
    public boolean isCompressed() {
        return channelHandlerContext.channel().pipeline().get(JZlibDecoder.class) != null;
    }
Updates the system counter of written bytes. This information is used by the "outgoing bytes" statistic.

@param ctx the context for the channel writing bytes
xmppserver/src/main/java/org/jivesoftware/openfire/nio/NettyConnection.java