Voice Platform SDK 8.5 API Reference

TScanServerMode

Syntax



typedef enum {
	TSCAN_MODE_DEFAULT,
	TSCAN_MODE_SYNC,
	TSCAN_MODE_ASYNC,
	TSCAN_MODE_CONNECT,
	TSCAN_MODE_WRITE,
	TSCAN_MODE_WRITE_ALL
} TScanServerMode;


Top of Page

Values

TSCAN_MODE_DEFAULT —  Use with SyncMode connections. This provides the same functionality as TScanServer(), with the addition of processing ADDP timeouts, if ADDP protocol is configured.

TSCAN_MODE_SYNC —  Provides the same functionality as TSCAN_MODE_DEFAULT.

TSCAN_MODE_ASYNC —  Use with AsyncMode connections. In this case, TScanServerEx() also sends pending messages for a given server, if applicable.

TSCAN_MODE_CONNECT —  Use after TOpenServer() to wait for a connection that is opening in asynchronous mode so that the connection is properly opened and registered.


NOTE: This mode is deprecated, and remains available primarily for backward compatibility. TSCAN_MODE_ASYNC should be used for AsyncMode connections in most cases.

TSCAN_MODE_WRITE —  When added to TSCAN_MODE_SYNC, pending messages for a given server are sent. This parameter does not affect TSCAN_MODE_ASYNC.

TSCAN_MODE_WRITE_ALL —  When added to either TSCAN_MODE_SYNC or TSCAN_MODE_ASYNC, pending messages for all registered connections are sent.


Top of Page


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