I'm writing a DSS script. It seems that my script environment has access to some JAVA classes. Is there any documentation which indicates which JAVA classes I can use?
For example. I was told to use Thread.sleep() on another post. See here.
But when I look through the DSS documentation (found at ccs_base/docs) I cannot find any reference to the Thread class. Looking through the JavaScript examples (found at ccs_base/examples/DebugServerExamples), I see they import some JAVA classes with the following statement:
importPackage(Packages.java.lang)
(Note the lack of quotes and semicolon. Hmm.) I'm not importing any packages in my script, yet I seem to have access to the JAVA Thread class. I only run my DSS script inside of the CCS Scripting Console. Does this mean that someone is implicitly importing some JAVA classes?
Should I be importing the same classes for correctness?
Is is required to import classes if I choose to run my script from the command line (i.e. not inside of the CCS Scripting Console)?
Thanks
~Ramsey