Implementing the Shutdown Callback Method

publisherShutdown is the callback method required by the publisher API to indicate that a shutdown has been requested.

Syntax: static void publisherShutdown();

If the ffh_mh_info structure is not null, invoke the structure’s session shutdown function, passing in the ffh_mh_info.

Sample publisherShutdown method

void publisherShutdown()
{
    ffh_mh_info * info = FIXMessageHandler::getHandlerInfo();
    if( info != NULL ) {
        info->shutdown( info );
    }
}
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
Related reference
Arguments of the Message Handler Plug-in Initialize Function
Arguments of the Message Handler Process Function
Arguments of the Message Handler Finalize 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