Share via


IListenerChannelCallback Interface

 

Provides listener-channel notifications from protocol handlers to the worker process framework. Also allows protocol handlers to access additional parameters, such as the ID of the listener channel.

Syntax

struct IListenerChannelCallback : IUnknown  

Methods

The following table lists the methods exposed by the IListenerChannelCallback interface.

Name Description
GetBlob Retrieves data that the protocol manager will pass to a listener channel when the protocol manager is starting that listener channel.
GetBlobLength Returns the size of the buffered data in the listener channel.
GetId Retrieves the ID of a listener channel that needs to be started.
ReportMessageReceived Notifies the worker process framework that a new message was received.
ReportStarted Notifies the worker process framework that a listener channel has started.
ReportStopped Notifies the worker process framework that a listener channel has shut down.

Properties

This interface contains no properties.

Derived Classes

This interface contains no derived classes.

Remarks

Use the pBlob parameter in the GetBlob method to communicate changes of listener channel data after the listener channel starts.

Inheritance Hierarchy

IUnknown

IListenerChannelCallback

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Webhost.h

See Also

Windows Process Activation Service API Reference