API - Control compile timer manually

Issue #233 resolved
Ali Ozdemir created an issue

Here is how compile timer works right now.

  • Timer starts and waits 3000(this comes from settings file) millisecond
  • If user changes data of the model, timer starts again and sends dataabouttochange event.
  • If user doesn't change any data for 3000 seconds, compile starts.

This process creates a problem for me. I don't want to change my data to compiled one at unknown time. I need a boolean that controls timer start event. New process:

  1. check the boolean if it is true start the timer and wait 3000(this comes from settings file) millisecond
  2. If user changes data of the model, timer starts again and sends dataabouttochange event.
  3. If user doesn't change any data for 3000 seconds, compile starts.

Comments (5)

  1. Ali Koc

    You can use ProjectCompilationHold() and ProjectCompilationRelease() methods of OBrIMConn object. OpenBrIM client side also has a timer for compilation which you can control through OBrIMSettings class.

  2. Log in to comment