|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Operation
This interface is for model sharer developer only, you rarely need to use this interface.
Available in ZK PE and ZK EE.
A model sharer will add Operation to OperationQueue, then OperationThread which monitor this queue
will consume operations and execute(Desktop) it.
The method failToExecute(Desktop) will be invoked when
OperationThread.terminate()
| Method Summary | |
|---|---|
void |
execute(Desktop desktop)
Execute the operation. |
void |
failToExecute(Desktop desktop)
Notify when 1.any Exception occurs when execute 2.thread is terminate by OperationThread.terminate()
3.desktop is not longer available |
| Method Detail |
|---|
void execute(Desktop desktop)
OperationThread will activate desktop first,
then call this method, and then call deactivate.
desktop - the desktop which OperationThread associate to.void failToExecute(Desktop desktop)
OperationThread.terminate()
3.desktop is not longer available
desktop - the Desktop which OperationThread associate to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||