gcspy.tools
Class TerminalClient

java.lang.Object
  extended by gcspy.tools.TerminalClient
All Implemented Interfaces:
EventListener, SpaceListener

public class TerminalClient
extends java.lang.Object
implements EventListener, SpaceListener

Dumps the transmission from the server to the terminal in ASCII format

Author:
Tony Printezis, Richard Jones

Method Summary
 void event(int eventID, int elapsedTime, int compensationTime)
          For Listeners
static void main(java.lang.String[] args)
           
 void space(ClientSpace space)
          Respond to a SPACE command from the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

event

public void event(int eventID,
                  int elapsedTime,
                  int compensationTime)
For Listeners

Specified by:
event in interface EventListener
Parameters:
eventID - The event's ID
elapsedTime - the elapsed time for the event
compensationTime - The compensation time

space

public void space(ClientSpace space)
Description copied from interface: SpaceListener
Respond to a SPACE command from the server.

Specified by:
space in interface SpaceListener
Parameters:
space - The new ClientSpace

main

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