Class VisiDisplay
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----VisiDisplay
- public class VisiDisplay
- extends Applet
Class definition for an application/applet that displays
a view of an IP/ATM network.
- Version:
- $Revision: 1.7 $, $Date: 2000/10/12 14:08:05 $
- Author:
- John Cavanaugh
-
collectionHost
- The host where the collection process runs.
-
collectionPort
- The port number for the collection process.
-
dataDir
- A data directory for the applet
-
DEFAULT_PORT
-
-
mainFrame
- The applet's main display frame.
-
mainThread
- The applet's main processing thread.
-
socket
- A socket for connecting to the collection process.
-
updateThread
- The applet's update-reading thread
-
VisiDisplay()
-
-
destroy()
- Shutdown method; called when VisiDisplay is run as
an applet.
-
init()
- Initialization method; called when VisiDisplay is run as
an applet.
-
main(String[])
- Main method; called when VisiDisplay is run as
an application.
-
start()
- Main line method; called when VisiDisplay is run as
an applet.
-
stop()
- Stop method; called when VisiDisplay is run as an applet.
DEFAULT_PORT
public static final int DEFAULT_PORT
mainFrame
protected VisiFrame mainFrame
- The applet's main display frame.
mainThread
protected VisiMain mainThread
- The applet's main processing thread.
updateThread
private UpdateHandler updateThread
- The applet's update-reading thread
dataDir
private String dataDir
- A data directory for the applet
collectionHost
private String collectionHost
- The host where the collection process runs.
collectionPort
private int collectionPort
- The port number for the collection process.
socket
private Socket socket
- A socket for connecting to the collection process.
VisiDisplay
public VisiDisplay()
init
public void init()
- Initialization method; called when VisiDisplay is run as
an applet.
- Overrides:
- init in class Applet
start
public void start()
- Main line method; called when VisiDisplay is run as
an applet.
- Overrides:
- start in class Applet
stop
public void stop()
- Stop method; called when VisiDisplay is run as an applet.
- Overrides:
- stop in class Applet
destroy
public void destroy()
- Shutdown method; called when VisiDisplay is run as
an applet.
- Overrides:
- destroy in class Applet
main
public static void main(String args[])
- Main method; called when VisiDisplay is run as
an application.
- Parameters:
- args - command-line arguments passed to the
application.