1 | | The [[Java Quagents Client]] is made of two parts - the core API and the front-end [[Scenarios]]. The API is made of command objects, which handle client-server interaction, as well as provide user access methods for all data. These commands are identified by command ids, integers assigned at instantiation. |
| 1 | = Java Quagents Client = |
| 2 | |
| 3 | The [[Java Quagents Client]] is made of two parts - the core API and the front-end [[Scenarios]]. The API is meant for internal development, and will usually not be necessary to modify for most intents and purposes. The front-end is meant for general user development - research, education, et cetera. |
| 4 | |
| 5 | == Compiling The Client == |
| 6 | |
| 7 | To compile the client, simply navigate to the client/API/ directory and type "ant". To remove the associated build directory and executable jar, type "ant clean". |
| 8 | |
| 9 | == Running The Client == |
| 10 | |
| 11 | The server and client must be launched independently. The server ''must'' be running when the client jar is executed. |
| 12 | |
| 13 | To start the server: |
| 14 | |
| 15 | * Navigate to the top-level quagents directory. |
| 16 | |
| 17 | * Launch the server using the run script by executing "./run.sh <builddir>", where <builddir> corresponds to the directory which you specified during initial installation. |
| 18 | |
| 19 | '''NOTE:''' if you receive an error when attempting to run the script, use the command "chmod u+x run.sh" to fix. |
| 20 | |
| 21 | == Internal Structure == |