Search in sources :

Example 1 with CloseProofOutputStream

use of hudson.CloseProofOutputStream in project hudson-2.x by hudson.

the class StreamTaskListener method writeObject.

private void writeObject(ObjectOutputStream out) throws IOException {
    out.writeObject(new RemoteOutputStream(new CloseProofOutputStream(this.out)));
    out.writeObject(charset == null ? null : charset.name());
}
Also used : CloseProofOutputStream(hudson.CloseProofOutputStream) RemoteOutputStream(hudson.remoting.RemoteOutputStream)

Aggregations

CloseProofOutputStream (hudson.CloseProofOutputStream)1 RemoteOutputStream (hudson.remoting.RemoteOutputStream)1