Product Documentation

FairCom ODK Driver

Previous Topic

Next Topic

ResetIOChannel

Resets the state of an IO Channel to clear a serious problem with an operation. Use this function to clean up all the context information and reconnect the IO Channel to the database.

void FCODKDriver::ResetIOChannel()

Requires the Following Information:

Result Values: N/A

Expected Errors: None.

When an Error Occurs:

  • Does not reset an IO Channel.

Notes:

  • Internally, the driver disconnects from the database, creates a new connection, and maps the connection handle to the IO Channel Number.
  • This operation cancels all operations running on the IO Channel; thus, it should be done when no operations are running or when losing uncommitted data is acceptable. The driver will not lose committed data.

TOCIndex