XUI Emulating Controllers is an infrastructure developed to enable the functions in the forms found on the fly to be used without opening forms or even on the server side.
This infrastructure also supports multi-threading work.
We will examine an example of a material card insertion process with a multithreading controller
In the CFMultiThreadControllerHandler class, we initiate the operation on the server side by making a remote call from the client to the server.
In the server-side CustomRemoteService class we first set the minimum, max and queucapacity values of LbsControllerUtil.configureTaskQueue (3, 10, 30, true).
We create an instance of the LbsQueuedTask class and pass the ControllerSampleItemCard class, which we generate from j-guar, as a parameter.
In the ItemParams class, the material card is prepared using the ItemModel class as many times as the number of "m_Counter" specified through the "next" method, and the multithread is executed in such a way as to work.
You can access the source code of the project by clicking Link
Copyright © 2018 Logo Yazılım