CTL
Class Debug
java.lang.Object
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 |
Debug
public Debug()
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 packagebaos
- 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 communicationhead
- Headerbuf
- Payload
- Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException