ix.itest
Class Itest

java.lang.Object
  |
  +--ix.icore.IXAgent
        |
        +--ix.itest.Itest

public class Itest
extends IXAgent

The generic I-TEST class and application main program.

Its IPC name can be given by the "-ipc-name" command-line argument. For example, to pretend to be I-DEEL:

    java ix.itest.Itest -ipc -ipc-name=IDEEL
 


Field Summary
protected  ItestFrame frame
           
protected  ReceivePanel receivePanel
           
protected  SendPanel sendPanel
           
 
Fields inherited from class ix.icore.IXAgent
contactManager, displayName, ipcName, ipcStrategyName, symbolName, textFrame, thisAgent
 
Constructor Summary
Itest()
           
Itest(java.lang.String frameTitle)
           
 
Method Summary
protected  void addTests()
          Adds any tests common to all versions of I-TEST.
 java.lang.Object getAgentIPCName()
          Returns the object used to represent the agent as an IPC "destination".
 void handleInput(IPC.InputMessage message)
          Handles external input in the form of an IPC.InputMessage that contains an Issue or Report object.
static void main(java.lang.String[] argv)
          Main program.
 javax.swing.JPanel makeLogoPanel()
          Creates a standard logo panel for I-TEST.
protected  void processCommandLineArguments()
          Command-line argument processing used by all versions of I-TEST.
 void setupFrame()
          Gives the main I-TEST frame its contents
 void startup()
          Completes I-TEST setup and initialization.
 
Methods inherited from class ix.icore.IXAgent
displayMessage, getAgent, getAgentDisplayName, getAgentSymbolName, getContactManager, handleNewActivity, handleNewChatMessage, handleNewConstraint, handleNewIssue, handleNewReport, mainStartup, notePossibleNewContact, pre_handleInput, startServer, tellUserOfException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected ItestFrame frame

sendPanel

protected SendPanel sendPanel

receivePanel

protected ReceivePanel receivePanel
Constructor Detail

Itest

public Itest()

Itest

public Itest(java.lang.String frameTitle)
Method Detail

getAgentIPCName

public java.lang.Object getAgentIPCName()
Description copied from class: IXAgent
Returns the object used to represent the agent as an IPC "destination". This object is usually, but not necessarily, a string containing the agent's name. The details will depend on the set of communication strategies that might be used.
Overrides:
getAgentIPCName in class IXAgent
Following copied from class: ix.icore.IXAgent
See Also:
IPC, IPC.CommunicationStrategy

main

public static void main(java.lang.String[] argv)
Main program.

processCommandLineArguments

protected void processCommandLineArguments()
Command-line argument processing used by all versions of I-TEST.
Overrides:
processCommandLineArguments in class IXAgent
See Also:
IXAgent.processCommandLineArguments()

startup

public void startup()
Completes I-TEST setup and initialization.
Overrides:
startup in class IXAgent

setupFrame

public void setupFrame()
Gives the main I-TEST frame its contents

makeLogoPanel

public javax.swing.JPanel makeLogoPanel()
Creates a standard logo panel for I-TEST. Overridden in subclasses that have, say, a picture to use instead.

handleInput

public void handleInput(IPC.InputMessage message)
Handles external input in the form of an IPC.InputMessage that contains an Issue or Report object.
Overrides:
handleInput in class IXAgent

addTests

protected void addTests()
Adds any tests common to all versions of I-TEST.