All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ParkaClient.SimpleClient

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ParkaClient.SimpleClient

public class SimpleClient
extends Frame
implements ActionListener, ItemListener, ParkaWin
A GUI that allows the user to test functionality of the ParkaClient code. Currently, the functions Query, Insert Assertions, Delete Assertions, Insert Frames, Delete Frames and Insert Predicates are supported.


Variable Index

 o AVAIL_KBS
Array of commonly accessed KB names.
 o commands
 o DEFAULT_PORT
Default port number to connect to KB
 o DEFAULT_SERVER
Default host machine for KB

Constructor Index

 o SimpleClient()

Method Index

 o actionPerformed(ActionEvent)
Catches button presses
 o displayMessage(String)
Implment ParkaWin interface methods
 o itemStateChanged(ItemEvent)
Listens for updates to the KB choice box
 o main(String[])

Variables

 o DEFAULT_SERVER
 protected static String DEFAULT_SERVER
Default host machine for KB

 o DEFAULT_PORT
 protected static String DEFAULT_PORT
Default port number to connect to KB

 o AVAIL_KBS
 protected static String AVAIL_KBS[]
Array of commonly accessed KB names.

 o commands
 protected static final String commands[][]

Constructors

 o SimpleClient
 public SimpleClient()

Methods

 o main
 public static void main(String args[])
 o actionPerformed
 public void actionPerformed(ActionEvent event)
Catches button presses

 o itemStateChanged
 public void itemStateChanged(ItemEvent event)
Listens for updates to the KB choice box

 o displayMessage
 public void displayMessage(String msg)
Implment ParkaWin interface methods


All Packages  Class Hierarchy  This Package  Previous  Next  Index