com.caucho.hessian.io
Class HessianDebugOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.hessian.io.HessianDebugOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class HessianDebugOutputStream
extends java.io.OutputStream

Debugging output stream for Hessian requests.


Constructor Summary
HessianDebugOutputStream(java.util.logging.Logger log, java.util.logging.Level level)
          Creates an uninitialized Hessian input stream.
HessianDebugOutputStream(java.io.OutputStream os, java.util.logging.Logger log, java.util.logging.Level level)
          Creates an uninitialized Hessian input stream.
HessianDebugOutputStream(java.io.OutputStream os, java.io.PrintWriter dbg)
          Creates an uninitialized Hessian input stream.
 
Method Summary
 void close()
          closes the stream.
 void flush()
           
 void initPacket(java.io.OutputStream os)
           
 void startStreaming()
           
 void startTop2()
           
 void write(int ch)
          Writes a character.
 
Methods inherited from class java.io.OutputStream
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianDebugOutputStream

public HessianDebugOutputStream(java.io.OutputStream os,
                                java.io.PrintWriter dbg)
Creates an uninitialized Hessian input stream.


HessianDebugOutputStream

public HessianDebugOutputStream(java.io.OutputStream os,
                                java.util.logging.Logger log,
                                java.util.logging.Level level)
Creates an uninitialized Hessian input stream.


HessianDebugOutputStream

public HessianDebugOutputStream(java.util.logging.Logger log,
                                java.util.logging.Level level)
Creates an uninitialized Hessian input stream.

Method Detail

initPacket

public void initPacket(java.io.OutputStream os)

startTop2

public void startTop2()

startStreaming

public void startStreaming()

write

public void write(int ch)
           throws java.io.IOException
Writes a character.

Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
closes the stream.

Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException