com.objsys.asn1j.runtime
Class Asn1PerDecodeTraceHandler

java.lang.Object
  extended by com.objsys.asn1j.runtime.Asn1PerTraceHandler
      extended by com.objsys.asn1j.runtime.Asn1PerDecodeTraceHandler

public class Asn1PerDecodeTraceHandler
extends Asn1PerTraceHandler

This is a utility class for handling the collection and printing of PER bit field trace information. An object of the class is present within both the Asn1PerEncodeBuffer and Asn1PerDecodeBuffer classes. It is accessed using the 'getTraceHandler' method from within objects of these classes.


Field Summary
 
Fields inherited from class com.objsys.asn1j.runtime.Asn1PerTraceHandler
mBitFieldList
 
Constructor Summary
Asn1PerDecodeTraceHandler(Asn1PerDecodeBuffer messageBuffer)
           
 
Method Summary
 void enable()
          This method is used to turn PER bit tracing on
 void print(java.io.PrintStream out, java.lang.String varName)
          This method prints the trace to the given output stream in a default format.
 void reset()
          This method resets the trace bit field list.
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1PerTraceHandler
addElemName, getBitFieldList, newBitField, removeLastElemName, setBitCount, setBitOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asn1PerDecodeTraceHandler

public Asn1PerDecodeTraceHandler(Asn1PerDecodeBuffer messageBuffer)
Method Detail

enable

public void enable()
This method is used to turn PER bit tracing on

Specified by:
enable in class Asn1PerTraceHandler

print

public void print(java.io.PrintStream out,
                  java.lang.String varName)
This method prints the trace to the given output stream in a default format.

Specified by:
print in class Asn1PerTraceHandler
Parameters:
out - Print stream to which output is to be written.
varName - Name of the object variable being printed.

reset

public void reset()
This method resets the trace bit field list.

Specified by:
reset in class Asn1PerTraceHandler