CTL
Class Debug

java.lang.Object
  extended by CTL.Debug

public class Debug
extends java.lang.Object

Simple debugging output handler


Constructor Summary
Debug()
           
 
Method Summary
static void RMIdump(java.lang.String type, Header head, byte[] buf)
          RMI debug message printer
static void RMIdump(java.lang.String type, Header head, java.io.ByteArrayOutputStream baos)
          Print out debugging output for a certain RMI invocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debug

public Debug()
Method Detail

RMIdump

public static void RMIdump(java.lang.String type,
                           Header head,
                           java.io.ByteArrayOutputStream baos)
                    throws java.io.IOException,
                           java.lang.IllegalAccessException,
                           java.lang.reflect.InvocationTargetException,
                           CTLException
Print out debugging output for a certain RMI invocation

Parameters:
type - Type of the RMI method (call or answer)
head - Header of this package
baos - Byte stream which this invocation generated
Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException

RMIdump

public static void RMIdump(java.lang.String type,
                           Header head,
                           byte[] buf)
                    throws java.io.IOException,
                           java.lang.IllegalAccessException,
                           java.lang.reflect.InvocationTargetException,
                           CTLException
RMI debug message printer

Parameters:
type - Type of communication
head - Header
buf - Payload
Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException