Chapter 21. Event Handler Interface

Table of Contents

How It Works
How to Use It

The –events command line switch causes hooks for user-defined event handlers to be inserted into the generated C# decode methods. What these event handlers do is up to the user. They fire when key message-processing events occur during the course of parsing an ASN.1 message. They are similar in functionality to the Simple API for XML (SAX) that was described earlier for parsing XML messages.