An Agent Name Server can be queried on your machine manually at the Unix command prompt or via the TestANS Graphical User Interface (TestANSGUI). Two complete sets of instruction are available, one set for each querying method. Each set is independent of the other, so feel free to jump directly to the method you prefer. The GUI method is below, the manual method is on the previous page.
Please keep in mind, however, that we virtually never register agents manually. This user guide is meant to demonstrate what typically occurs automatically through the Communicator Package.
java EDU.cmu.softagents.misc.ANS.TestANSGUI <ANS host> <port>
java EDU.cmu.softagents.misc.ANS.TestANSGUI midea 6677 <CR> |
After a few seconds, the graphical interface should appear on your screen.
In this example, an agent named "midea_agent" is being registered with the ANS running on host "midea." The agent is using port number "6656."
In this example, the TestANSGUI program returned the name of "midea_agent," the agent name registered with the ANS on host "midea."
Next Page: Starting an ANS
Previous Page: Querying an ANS at the Command Prompt
Or jump to: Javadocs
Copyright 1999 © Software Agents Group Send questions and comments to: Pleiades <pleiades@cs.cmu.edu> Software Agents Group Internal Site Robotics Institute
|