LibraryLink ToToggle FramesPrintFeedback

Chapter 3. Determining When the Interceptor is Invoked

Specifying an Interceptor's Phase
Constraining an Interceptors Placement in a Phase

When developing a custom interceptor, the first thing to consider is where in the message processing chain the interceptor belongs. The developer can control an interceptor's position in the message processing chain in one of two ways:

Typically, the code specifying an interceptor's location is placed in the interceptor's constructor. This makes it possible for the runtime to instantiate the interceptor and put in the proper place in the interceptor chain without any explicit action in the application level code.