API Documentation > Interface Classes > Class pfcAsyncActionListener
Class pfcAsyncActionListener

# include <pfcAsyncConnection.h>

class
pfcAsyncActionListener
: public virtual
pfcActionListener
{
xaideclare(pfcAsyncActionListener)
...
};


Description
This class defines an action listener that notifies you about events specific to asynchronous mode.
Method Summary
void
This listener method, available only in asynchronous mode, is called when Creo Parametric terminates normally or abnormally.
Method Detail
void
OnTerminate
This listener method, available only in asynchronous mode, is called when Creo Parametric terminates normally or abnormally.
This listener method should be registered only for the period of time while pfcAsyncConnection::EventProcess() is being called regularly, or when pfcAsyncConnection::WaitForEvents() will be used, or else its invocation will block Creo Parametric upon exit.
Manual References:
Parameters:
Status
The type of exit that occurred.
Returns:
Was this helpful?