ConnectorLib C++ 24.4
ConnectorLib C++ SDK Programming Guide

# Handle Stop Requests

A connector can be requested to stop at any time. For example, the connector might be running as a service that is stopped, it might receive an `action=stop` command to its service port, or a user might press CTRL+C in the connector’s console window.

The sample code calls the `shouldStop` method on the `SynchronizeTask` between each document that it processes. If this method returns true the connector has been instructed to stop so the sample code returns immediately.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL ConnectorLib C++ 24.4

Topic Title: Handle Stop Requests