Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.jms.server.remoting
Class CountingOutputStream

    java.lang.Object
      java.io.OutputStream
          org.jboss.jms.server.remoting.CountingOutputStream

public class CountingOutputStream
extends java.io.OutputStream

A CountingOutputStream. Counts how many bytes written, used as a diagnostic tool during development when we want to see exactly what's being written, typically to sockets OuputStreams.

Version:
  1.1 CountingOutputStream.java,v 1.1 2006/02/01 17:38:32 timfox Exp
Author:
  Tim Fox

Constructor Summary
`CountingOutputStream(java.io.OutputStream os)`

Method Summary
`void` | `flush()`
`void` | `write(int b)`

Methods inherited from class java.io.OutputStream
`close, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CountingOutputStream

    public CountingOutputStream(java.io.OutputStream os)

Method Detail

### write

    public void write(int b)
               throws java.io.IOException

  Throws:
    `java.io.IOException`

### flush

    public void flush()
               throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.