RESTART.
Never directly call restart().process() is done Command will
automatically check the primitive state. If the state is set to RESTART
it will call restart().
process() is not interrupted.restart() method restarts a primitive by calling close()
and then open() before allowing the primitive to return to
process().
open(), process(), ..., process(),
close() just like it normally does. The only difference is that
the close() is immediately followed by whole "new" execution of
the primitive.
|
| Click image for larger view. |