Asn1PerEncodeTraceHandler Class Reference
Inheritance diagram for Asn1PerEncodeTraceHandler:
Public Member Functions | |
Asn1PerEncodeTraceHandler (Asn1PerEncodeBuffer messageBuffer) | |
override void | Enable () |
override void | Print (System.IO.StreamWriter outs, System.String varName) |
override void | Reset () |
Detailed Description
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 'TraceHandler' property from objects of these classes.
Constructor & Destructor Documentation
Asn1PerEncodeTraceHandler | ( | Asn1PerEncodeBuffer | messageBuffer | ) |
This constructor initializes internal trace handler member variables.
- Parameters:
-
messageBuffer PER encode message buffer object reference
Member Function Documentation
override void Enable | ( | ) | [virtual] |
This method is used to turn PER bit tracing on
Implements Asn1PerTraceHandler.
override void Print | ( | System.IO.StreamWriter | outs, | |
System.String | varName | |||
) | [virtual] |
This method prints the trace to the given output stream in a default format.
- Parameters:
-
outs Print stream to which output is to be written. varName Name of the object variable being printed.
Implements Asn1PerTraceHandler.
override void Reset | ( | ) | [virtual] |
This method resets the trace bit field list.
Implements Asn1PerTraceHandler.