Voice Platform SDK 8.5 API Reference

TDispatch

Description

Whenever there is any activity on the socket, this function dispatches the data communicated by T-Server to the user-defined callback function (designated in the call to the functions TOpenServer() and TOpenServerEx()), which handles incoming events.


Top of Page

Parameters

Name Description
server Local server handle to the T-Server in question.

Top of Page

Return Values

0 —  Returned when the function could not process any events.

> 0 —  The number of events the function has been able to read from the input buffer and deliver to the user-defined callback function designated in the call to TOpenServer() or TOpenServerEx(). If a connection to T-Server has been lost, the function causes EventServerDisconnected to be delivered in addition to the events communicated by T-Server and returns the number of communicated events, including EventServerDisconnected.


Top of Page

Comments

This function does not generate any messages to T-Server.


Top of Page


Send comments on this topic.
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.