com.caucho.hessian.io
Class HessianDebugState

java.lang.Object
  extended by com.caucho.hessian.io.HessianDebugState
All Implemented Interfaces:
Hessian2Constants

public class HessianDebugState
extends java.lang.Object
implements Hessian2Constants

Debugging input stream for Hessian requests.


Field Summary
 
Fields inherited from interface com.caucho.hessian.io.Hessian2Constants
BC_BINARY, BC_BINARY_CHUNK, BC_BINARY_DIRECT, BC_BINARY_SHORT, BC_CLASS_DEF, BC_DATE, BC_DATE_MINUTE, BC_DOUBLE, BC_DOUBLE_BYTE, BC_DOUBLE_MILL, BC_DOUBLE_ONE, BC_DOUBLE_SHORT, BC_DOUBLE_ZERO, BC_END, BC_FALSE, BC_INT, BC_INT_BYTE_ZERO, BC_INT_SHORT_ZERO, BC_INT_ZERO, BC_LIST_DIRECT, BC_LIST_DIRECT_UNTYPED, BC_LIST_FIXED, BC_LIST_FIXED_UNTYPED, BC_LIST_VARIABLE, BC_LIST_VARIABLE_UNTYPED, BC_LONG, BC_LONG_BYTE_ZERO, BC_LONG_INT, BC_LONG_SHORT_ZERO, BC_LONG_ZERO, BC_MAP, BC_MAP_UNTYPED, BC_NULL, BC_OBJECT, BC_OBJECT_DEF, BC_OBJECT_DIRECT, BC_REF, BC_STRING, BC_STRING_CHUNK, BC_STRING_DIRECT, BC_STRING_SHORT, BC_TRUE, BINARY_DIRECT_MAX, BINARY_SHORT_MAX, INT_BYTE_MAX, INT_BYTE_MIN, INT_DIRECT_MAX, INT_DIRECT_MIN, INT_SHORT_MAX, INT_SHORT_MIN, LIST_DIRECT_MAX, LONG_BYTE_MAX, LONG_BYTE_MIN, LONG_DIRECT_MAX, LONG_DIRECT_MIN, LONG_SHORT_MAX, LONG_SHORT_MIN, OBJECT_DIRECT_MAX, P_PACKET, P_PACKET_CHUNK, P_PACKET_DIRECT, P_PACKET_SHORT, PACKET_DIRECT_MAX, PACKET_SHORT_MAX, STRING_DIRECT_MAX, STRING_SHORT_MAX
 
Constructor Summary
HessianDebugState(java.io.PrintWriter dbg)
          Creates an uninitialized Hessian input stream.
 
Method Summary
 int getDepth()
           
 void next(int ch)
          Reads a character.
 void setDepth(int depth)
           
 void startData1()
           
 void startStreaming()
           
 void startTop2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianDebugState

public HessianDebugState(java.io.PrintWriter dbg)
Creates an uninitialized Hessian input stream.

Method Detail

startTop2

public void startTop2()

startData1

public void startData1()

startStreaming

public void startStreaming()

next

public void next(int ch)
          throws java.io.IOException
Reads a character.

Throws:
java.io.IOException

setDepth

public void setDepth(int depth)

getDepth

public int getDepth()