Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  • Develop library of commonly used functions (e.g. Tune, Record, etc) that can be used by xlets or scripts.  The idea is to make this library easier to use than the raw OCAP calls so that a script-writer in particular does not need detailed OCAP API knowledge to write a script.  This library is called the OcapAppDriver.
  • OcapAppDriver lib calls need to clearly assert whether they are synchronous or asynchronous.  In general, synchronous calls will be favored over asynchronous.
  • OcapAppDriver lib calls will pass/return only simple Java primitives (String, int, etc) in keeping with the philosophy that the API should require minimal OCAP API knowledge to use.
  • Callbacks...Callbacks…
  • The Scripting Xlet needs to expose a scripting capability that allows a reasonable level of scripting functionality (e.g. variables, if/else statements, for loops, etc).

...

  • The common syntax constructs such as if-else, for loops, variables, etc.
  • The ability to call OCAP Driver Lib methods without the need for any wrapper code.
  • BeanShell's BeanShell’s use of Java syntax allows a user with essentially no Java knowledge to write basic scripts, while at the same time allowing more advanced scripts to be written by a Java-savy user.

More design details TBD...TBD…

RiExerciser Xlet Detailed Design

...