This directory contains sample applications, and may be used as a package in which to develop new applications. A simple example of developing an application is given by the Ping classes. The Ping program presents a user interface to bounce a series of packets off of a network host, measuring the round trip latency in the process. Look in the runs directory for a script to start it. The program itself is comprised of several files as follows:
When you construct your own applications, there are several useful
techniques for debugging them. First, the log method on the
Node will cause a message to be echoed on standard error.
Second, recompiling with the static field Entity.logging set
to true will cause status messages to be printed for selected
entities. This requires that the entities have logging enabled (add
"-log 255" to their line in the config file) and the entities manager
have logging enabled (add "manager