Package org.apache.derby.impl.drda
Class DssTrace
- java.lang.Object
-
- org.apache.derby.impl.drda.DssTrace
-
public class DssTrace extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static char[]asciiCharprivate static CodePointNameTablecodePointNameTableprivate static java.lang.StringcolPosHeaderprivate java.lang.ObjectcomBufferSyncprivate booleancomBufferTraceOnprivate java.io.PrintWritercomBufferWriterprivate static char[]ebcdicCharprivate static char[]hexDigitprivate static java.lang.StringLIST_SEPARATORprivate static java.lang.StringNULL_VALUEprivate static java.lang.StringreceiveHeaderprivate static java.lang.StringsendHeaderprivate static charspaceCharprotected static intTYPE_TRACE_RECEIVEprotected static intTYPE_TRACE_SENDprivate static charzeroChar
-
Constructor Summary
Constructors Constructor Description DssTrace()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intgetCodePoint(byte[] buff, int offset)private static java.lang.StringgetHeader(int type)private static intgetStartPosition(int type)protected booleanisComBufferTraceOn()private voidprintHeaderWithCodePointName(java.lang.String codePointName, int type)protected voidstartComBufferTrace(java.lang.String fileName)protected voidstopComBufferTrace()protected voidwriteComBufferData(byte[] buff, int offset, int len, int type, java.lang.String className, java.lang.String methodName, int trcPt)
-
-
-
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 final java.lang.Object 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
-
-
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)
-
-