gumbo.visualize.data
Class TestClientApp

java.lang.Object
  |
  +--gumbo.visualize.data.TestClientApp

public class TestClientApp
extends java.lang.Object

Test client for displaying various views of graph models. Opens a new view window when a model is received.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Field Summary
static java.lang.String APP_NAME
           
 
Constructor Summary
TestClientApp(java.lang.String serverHost, int serverPort, java.io.PrintWriter writer, boolean useThread)
           
 
Method Summary
 java.lang.String getAppName()
           
 TestClientAgent getMessageAgent()
           
 ClientThread getMessageThread()
           
 TestClientWindow getRootWindow()
           
 TestViewInput getViewInput()
          All windows participating in global select must add their inputs using getGlobalSelect().addInput().
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final java.lang.String APP_NAME
See Also:
Constant Field Values
Constructor Detail

TestClientApp

public TestClientApp(java.lang.String serverHost,
                     int serverPort,
                     java.io.PrintWriter writer,
                     boolean useThread)
Parameters:
serverHost - Server host name.
serverPort - Server port number.
writer - Writer for network status messages. Null if none.
useThread - If true the client is run in a separate thread; otherwise, the constructor returns when the client loop quits.
Method Detail

getViewInput

public TestViewInput getViewInput()
All windows participating in global select must add their inputs using getGlobalSelect().addInput().

Returns:
Reference to the global select. Never null.

getMessageThread

public ClientThread getMessageThread()

getRootWindow

public TestClientWindow getRootWindow()

getMessageAgent

public TestClientAgent getMessageAgent()

getAppName

public java.lang.String getAppName()

main

public static void main(java.lang.String[] args)