Skype4COM: CallChannelManager Class Reference

Skype4COM

Skype4COM 1.0.36.0

CallChannelManager Class Reference

This class manages Call data channels. More...

import "Skype4COM.idl";


Detailed Description

This class manages Call data channels.

The CallChannelManager class listens for incoming Skype Call and attempts to create a data channel between the callers. The ApplicationStream is created when the ICall::Status is TCallStatus::clsRinging. The ApplicationStream is deleted when the call status changes to TCallStatus::clsCancelled, TCallStatus::clsFailed, TCallStatus::clsFinished or TCallStatus::clsRefused.

Note:
To create a data channel it is necessary to have an instance of the CallChannelManager with the same name running on both endpoints of a call. It is possible to have multiple data channels running at the same time.
See also:
ICallChannelManager, _ICallChannelManagerEvents, ICallChannel
Example:
 '// To create a channel manager object:
 Set oMgr = WScript.CreateObject("Skype4COM.CallChannelManager", "ChannelManager_")

 '// Create the application context:
 oMgr.Create("TestApplicationName")
 
 '// Wait for the application context to be created:
 Do While Not oMgr.Created
   WScript.Sleep(1000)
 Loop

 '// This event occurs when a new channel is created or an existing channel is deleted:
 Public Sub ChannelManager_Channels(ByRef aManager, ByRef aChannels)     
 End Sub
 
 '// This event occurs when a message arrives from a remote user
 Public Sub ChannelManager_Message(ByRef aManager, ByRef aChannel, ByRef aMessage)     
 End Sub
 
 '// This event occurs when an application context is created
 Public Sub ChannelManager_Created()     
 End Sub

The documentation for this class was generated from the following file:

Copyright � 2006 Skype Limited. All rights reserved.