submission.Demo
Class EchoClient

java.lang.Object
  extended byjava.lang.Thread
      extended bysimnet.Application
          extended bysubmission.Demo.EchoClient
All Implemented Interfaces:
PlugoutListener, java.lang.Runnable, SimnetWindowListener
Direct Known Subclasses:
TCPEchoClient, UDPEchoClient

public abstract class EchoClient
extends Application

Example abstract base class of a type of application.


Field Summary
protected  int defaultPort
          The default port to connect to an EchoServer on.
 
Fields inherited from class simnet.Application
appid, appstart, node, NODE_ID, pid, random, sim
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EchoClient()
           
 
Methods inherited from class simnet.Application
closeWindow, customInit, finalize, getTitleString, initialize, plugoutNotification, printout, printout, processWindowCommand, rawOut, run, window
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

defaultPort

protected int defaultPort
The default port to connect to an EchoServer on.

Constructor Detail

EchoClient

public EchoClient()