Listener Adapter Callback Functions

 

This section describes the functions that support listener adapter callbacks, which enable the Windows Process Activation Service (WAS) to communicate information to a listener adapter.

In This Section

Function Description
PFN_WEBHOST_LISTENER_APPLICATION_APP_POOL_CHANGED Notifies the listener adapter that the application pool for a particular application has changed.
PFN_WEBHOST_LISTENER_APPLICATION_BINDINGS_CHANGED Notifies the listener adapter that the bindings for a particular application have changed.
PFN_WEBHOST_LISTENER_APPLICATION_CREATED Notifies the listener adapter that an application configured for the listener associated with this listener adapter has been created.
PFN_WEBHOST_LISTENER_APPLICATION_DELETED Notifies the listener adapter that the application is no longer active for a protocol.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED Notifies the listener adapter that all instances of a particular listener channel have been stopped.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_CAN_OPEN_NEW_LISTENER_CHANNEL_INSTANCE Notifies the listener adapter that it is possible to launch other instances of this listener channel.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_CREATED Notifies the listener adapter that the application pool configured to receive messages has been created.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_DELETED Notifies the listener adapter that the application pool has been deleted from its view.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_IDENTITY_CHANGED Notifies the listener adapter that an application pool identity has changed.
PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED Notifies the listener adapter that the state of an application pool has changed.
PFN_WEBHOST_LISTENER_APPLICATION_REQUESTS_BLOCKED_CHANGED Notifies the listener adapter that the requests-blocked state has changed.
PFN_WEBHOST_LISTENER_CONFIG_MANAGER_CONNECTED Notifies the listener adapter that the WebhostRegisterProtocol function call was successful and the configuration manager has connected.
PFN_WEBHOST_LISTENER_CONFIG_MANAGER_DISCONNECT Notifies the listener adapter that the Windows Process Activation Service (WAS) has disconnected.
PFN_WEBHOST_LISTENER_CONFIG_MANAGER_INITIALIZATION_COMPLETED Notifies the listener adapter that the Windows Process Activation Service (WAS) has completed passing all configuration information.

Reference

IIS Development

Listener Adapter API Reference