IWTSVirtualChannelCallback interface

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.

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h