Arguments of the Message Handler Finalize Function

The message handler plug-in finalize function (ffh_mh_fini_function) for the message handler releases and cleans up any resources used by your message handler plug-in.

The ffh_mh_info argument of the finalization function points to the same object that was passed to the plug-in initialization function.

The plug-in should cast the ffh_mh_info->user_data field as a pointer to an instance of the message handling class, if one was created during the initialization, invoke its cleanup code, delete the object, and then set it to null.

The callback method publisherShutdown is required by the publisher API.

Related concepts
Message Handler Plug-ins
Related tasks
Writing a Message Handler Plug-in for the FAST Feed Handler
Writing a Message Handler Plug-in Initialize Function
Writing a Message Handler Plug-in Process Function
Writing a Message Handler Plug-in Finalize Function
Implementing the Shutdown Callback Method
Related reference
Arguments of the Message Handler Plug-in Initialize Function
Arguments of the Message Handler Process Function
C API Definitions of Function Signatures for Building a Message Handler
C API Definition of ffh_fast_message and its Related Structures
FAST Templates