Advanced usage

Instead of using the default JobInteractor, you can also create a new specialization of the JobInteractor, overriding it's onError, onHandle and onFinish methods. 


It might make sense to make your own specialization if you want to interact with multiple jobs at the same time. You have to be aware that these methods are invoked on different threads then the main thread and they might also execute in parallel. It is then also your responsibility to handle the threading issues to might arise. By overriding these methods you will break the waitForEvents logic if you do not call their default implementation.

Copyright (c) 1993–2018 by AIMMS B.V. All rights reserved