close method

Syntax
void QAManagerBase.close()
throws QAException
Throws
  • Thrown if there is a problem closing the QAManagerBase instance.

Remarks

Closes the connection to the QAnywhere message system and releases any resources used by the QAManagerBase.

Additional calls to close() following the first are ignored. Any subsequent calls to a QAManagerBase method, other than close(), result in a QAException. You must create and open a new QAManagerBase instance in this case.

If a database connection error is detected, you can re-open a QAManager by calling the close function followed by the open function. When re-opening a QAManager, you do not need to re-create it, reset the properties, or reset the message listeners. The properties of the QAManager cannot be changed after the first open, and subsequent open calls must supply the same acknowledgement mode.

See also