Code example for SessionOutputBuffer

Methods: flush

0
            this.wire.output(b);
        } 
    } 
 
    public void flush() throws IOException { 
        this.out.flush();
    } 
 
    public void writeLine(final CharArrayBuffer buffer) throws IOException {
        this.out.writeLine(buffer);
        if (this.wire.enabled()) {
            String s = new String(buffer.buffer(), 0, buffer.length());
            this.wire.output(s + "[EOL]");
        } 
    } 
 
    public void writeLine(final String s) throws IOException {
        this.out.writeLine(s);
        if (this.wire.enabled()) {
            this.wire.output(s + "[EOL]");