org.apache.derby.impl.drda
Class DssTrace

java.lang.Object
  extended by org.apache.derby.impl.drda.DssTrace

public class DssTrace
extends java.lang.Object


Field Summary
private static char[] asciiChar
           
private static CodePointNameTable codePointNameTable
           
private static java.lang.String colPosHeader
           
private  java.lang.Boolean comBufferSync
           
private  boolean comBufferTraceOn
           
private  java.io.PrintWriter comBufferWriter
           
private static char[] ebcdicChar
           
private static char[] hexDigit
           
private static java.lang.String LIST_SEPARATOR
           
private static java.lang.String NULL_VALUE
           
private static java.lang.String receiveHeader
           
private static java.lang.String sendHeader
           
private static char spaceChar
           
protected static int TYPE_TRACE_RECEIVE
           
protected static int TYPE_TRACE_SEND
           
private static char zeroChar
           
 
Constructor Summary
DssTrace()
           
 
Method Summary
private static int getCodePoint(byte[] buff, int offset)
           
private static java.lang.String getHeader(int type)
           
private static int getStartPosition(int type)
           
protected  boolean isComBufferTraceOn()
           
private  void printHeaderWithCodePointName(java.lang.String codePointName, int type)
           
protected  void startComBufferTrace(java.lang.String fileName)
           
protected  void stopComBufferTrace()
           
protected  void writeComBufferData(byte[] buff, int offset, int len, int type, java.lang.String className, java.lang.String methodName, int trcPt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIST_SEPARATOR

private static final java.lang.String LIST_SEPARATOR
See Also:
Constant Field Values

NULL_VALUE

private static final java.lang.String NULL_VALUE
See Also:
Constant Field Values

asciiChar

private static final char[] asciiChar

codePointNameTable

private static CodePointNameTable codePointNameTable

colPosHeader

private static final java.lang.String colPosHeader
See Also:
Constant Field Values

ebcdicChar

private static final char[] ebcdicChar

hexDigit

private static final char[] hexDigit

comBufferWriter

private java.io.PrintWriter comBufferWriter

receiveHeader

private static final java.lang.String receiveHeader
See Also:
Constant Field Values

sendHeader

private static final java.lang.String sendHeader
See Also:
Constant Field Values

spaceChar

private static final char spaceChar
See Also:
Constant Field Values

comBufferTraceOn

private boolean comBufferTraceOn

comBufferSync

private java.lang.Boolean comBufferSync

zeroChar

private static final char zeroChar
See Also:
Constant Field Values

TYPE_TRACE_RECEIVE

protected static final int TYPE_TRACE_RECEIVE
See Also:
Constant Field Values

TYPE_TRACE_SEND

protected static final int TYPE_TRACE_SEND
See Also:
Constant Field Values
Constructor Detail

DssTrace

public DssTrace()
Method Detail

isComBufferTraceOn

protected boolean isComBufferTraceOn()

startComBufferTrace

protected void startComBufferTrace(java.lang.String fileName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

stopComBufferTrace

protected void stopComBufferTrace()

writeComBufferData

protected void writeComBufferData(byte[] buff,
                                  int offset,
                                  int len,
                                  int type,
                                  java.lang.String className,
                                  java.lang.String methodName,
                                  int trcPt)

getCodePoint

private static int getCodePoint(byte[] buff,
                                int offset)

getHeader

private static java.lang.String getHeader(int type)

getStartPosition

private static int getStartPosition(int type)

printHeaderWithCodePointName

private void printHeaderWithCodePointName(java.lang.String codePointName,
                                          int type)

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.