All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.replay.Previewer

java.lang.Object
   |
   +----ncsa.habanero.replay.Previewer

public class Previewer
extends Object
implements Enumeration
Previewer This object allows you to preview the actions that will take place in the replayed session


Constructor Index

 o Previewer(String, Session)

Method Index

 o anotherPart()
 o collobjectNameStream()
 o hasMoreElements()
 o nextElement()
 o participantStream()
 o readNextEvent()
 o switchToNextPart()

Constructors

 o Previewer
 public Previewer(String strDirName,
                  Session session)
Parameters:
strDirName - the name of the directory
Returns:
creates a ReplayEventInformation

Methods

 o readNextEvent
 protected Object readNextEvent()
Returns:
reads the first item in the stream
 o nextElement
 public Object nextElement()
Returns:
the next action
 o hasMoreElements
 public boolean hasMoreElements()
Returns:
true if there is more data to be read
 o anotherPart
 public boolean anotherPart()
Returns:
true if there is another part of the session
 o switchToNextPart
 public void switchToNextPart()
Returns:
true if there is another part of the session
 o collobjectNameStream
 public FileReplayMIStr collobjectNameStream() throws FileNotFoundException, StreamCorruptedException, IOException
Returns:
a stream that has all the names of the collobjects in it
Throws: FileNotFoundException
is thrown if the file isn't able to be opened
 o participantStream
 public FileReplayMIStr participantStream() throws FileNotFoundException, StreamCorruptedException, IOException
Returns:
a stream that has all the names of the collobjects in it
Throws: FileNotFoundException
is thrown if the file isn't able to be opened

All Packages  Class Hierarchy  This Package  Previous  Next  Index