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

Variable Index

 o collectionHost
The host where the collection process runs.
 o collectionPort
The port number for the collection process.
 o dataDir
A data directory for the applet
 o DEFAULT_PORT
 o mainFrame
The applet's main display frame.
 o mainThread
The applet's main processing thread.
 o socket
A socket for connecting to the collection process.
 o updateThread
The applet's update-reading thread

Constructor Index

 o VisiDisplay()

Method Index

 o destroy()
Shutdown method; called when VisiDisplay is run as an applet.
 o init()
Initialization method; called when VisiDisplay is run as an applet.
 o main(String[])
Main method; called when VisiDisplay is run as an application.
 o start()
Main line method; called when VisiDisplay is run as an applet.
 o stop()
Stop method; called when VisiDisplay is run as an applet.

Variables

 o DEFAULT_PORT
 public static final int DEFAULT_PORT
 o mainFrame
 protected VisiFrame mainFrame
The applet's main display frame.

 o mainThread
 protected VisiMain mainThread
The applet's main processing thread.

 o updateThread
 private UpdateHandler updateThread
The applet's update-reading thread

 o dataDir
 private String dataDir
A data directory for the applet

 o collectionHost
 private String collectionHost
The host where the collection process runs.

 o collectionPort
 private int collectionPort
The port number for the collection process.

 o socket
 private Socket socket
A socket for connecting to the collection process.

Constructors

 o VisiDisplay
 public VisiDisplay()

Methods

 o init
 public void init()
Initialization method; called when VisiDisplay is run as an applet.

Overrides:
init in class Applet
 o start
 public void start()
Main line method; called when VisiDisplay is run as an applet.

Overrides:
start in class Applet
 o stop
 public void stop()
Stop method; called when VisiDisplay is run as an applet.

Overrides:
stop in class Applet
 o destroy
 public void destroy()
Shutdown method; called when VisiDisplay is run as an applet.

Overrides:
destroy in class Applet
 o 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.