IWTSVirtualChannelCallback interface (tsvirtualchannels.h)

Receives notifications about channel state changes or data received. This interface is implemented by the user. Each instance of this interface is associated with one instance of IWTSVirtualChannel.

Implementation of this interface should not block these calls, because this may suppress other callbacks. It is not guaranteed that these calls will always arrive on the same thread, even for in-process COM implementation of the plug-in. Calls to the Write and Close methods of IWTSVirtualChannel are permitted within these callbacks.

Inheritance

The IWTSVirtualChannelCallback interface inherits from the IUnknown interface. IWTSVirtualChannelCallback also has these types of members:

Methods

The IWTSVirtualChannelCallback interface has these methods.

Method Description
IWTSVirtualChannelCallback::OnClose Notifies the user that the channel has been closed.
IWTSVirtualChannelCallback::OnDataReceived Notifies the user about data that is being received.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h