m_flushing = true;
    public void flush() {        if (m_flushing) { return; }        try {            m_flushing = true;            flushInternal();        } catch (ProtoException pe) {            throw handleException(pe);        } finally {            m_flushing = false;        }    }