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 » QAManagerBase class

getMode function Next Page

getQueueDepth function


Synopsis

qa_int QAManagerBase::getQueueDepth(
qa_const_string address,
qa_short filter
)

Parameters
Remarks

Returns the depth of a queue, based on a given filter.

The depth of the queue is the number of messages which have not been received (for example, using QAManagerBasegetMessage).

See Also

QueueDepthFilter class

Returns

The number of messages in the queue, or -1 if an error occurs.