gcspy.tools
Class TerminalStoreTrace

java.lang.Object
  extended by gcspy.utils.Verbose
      extended by gcspy.tools.FileTrace
          extended by gcspy.tools.TerminalStoreTrace
All Implemented Interfaces:
EventListener, SpaceListener, InputGenerator, OutputGenerator

public class TerminalStoreTrace
extends FileTrace
implements EventListener, SpaceListener

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

Author:
Tony Printezis

Field Summary
 
Fields inherited from class gcspy.tools.FileTrace
COMPRESSION_GZIP, COMPRESSION_NONE, COMPRESSION_ZIP, fileName
 
Fields inherited from class gcspy.utils.Verbose
verbose
 
Method Summary
 void event(int eventID, int elapsedTime, int compensationTime)
          Handle an event
static void main(java.lang.String[] args)
           
 void space(ClientSpace space)
          Respond to a SPACE command from the server.
 
Methods inherited from class gcspy.tools.FileTrace
close, control, createBufferedInput, createBufferedOutput, createSpace, done, eventCount, getCompressionType, parse, setupInput, setupOutput, space, spaceInfo, stream, writeControl, writeEvent, writeEventCount, writeSpace, writeSpaceInfo, writeStream
 
Methods inherited from class gcspy.utils.Verbose
print, println, println, setVerbose, verbose
 
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)
Description copied from class: FileTrace
Handle an event

Specified by:
event in interface EventListener
Overrides:
event in class FileTrace
Parameters:
eventID - The event's ID
elapsedTime - The elapsed time for the event
compensationTime - Its 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)