Class AgentLauncher

Class AgentLauncher

AgentLauncher

public final class AgentLauncher
extends Applet
implements Runnable

Method Index

 o run()
The main loop for the main thread.
 o start()
start - Whenever a user visits our page, Applet calls this.
 o stop()
Stop this thread.

Methods

 o start
  public void start()
start - Whenever a user visits our page, Applet calls this. This is an override of an Applet method. Creates a thread and passes this AgentLauncher into it. Works because we implement the Runnable method.
 o stop
  public void stop()
Stop this thread. Only stops the animated displays, not the socket reading or any other threads we may have created. This is NOT the Thread.stop method, but the Applet.stop method. Thread.stop should NOT be overridden because it actually does something, (throwing a ThreadDeath) while Applet.stop CAN be overridden, as we do here.
 o run
  public void run()
The main loop for the main thread.