Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere C++ API Reference

QAnywhere C++ API Reference Next Page

AcknowledgementMode class


Syntax

public AcknowledgementMode

Remarks

Indicates how messages should be acknowledged by QAnywhere client applications.

The IMPLICIT_ACKNOWLEDGEMENT and EXPLICIT_ACKNOWLEDGEMENT modes are assigned to a QAManager instance using the QAManageropen() method. The TRANSACTIONAL mode is implicitly assigned to QATransactionalManager instances.

For more information, seeInitializing a QAnywhere API.

In implicit acknowledgement mode, messages are acknowledged as soon as they are received by a client application. In explicit acknowledgement mode, you must call one of the QAManager acknowledgement methods. In transactional mode, you must call the QATransactionalManagercommit() method to acknowledge all outstanding messages. The server propagates all status changes from client to client.

For more information, seeReceiving messages synchronously andReceiving messages asynchronously.

For transactional messaging, use the QATransactionalManager. In this case, you use the QATransactionalManagercommit method to acknowledge messages belonging to a transaction.

You can determine the mode of a QAManagerBase instance using the QAManagerBaseMode property.

See Also

QAManager class

QATransactionalManager class

QAManagerBase class

Members

All members of AcknowledgementMode, including all inherited members.


EXPLICIT_ACKNOWLEDGEMENT variable
IMPLICIT_ACKNOWLEDGEMENT variable
TRANSACTIONAL variable