cage
Class NativeCaGePipe

java.lang.Object
  extended by lisken.systoolbox.Pipe
      extended by cage.CaGePipe
          extended by cage.NativeCaGePipe
All Implemented Interfaces:
CaGeRunner

public class NativeCaGePipe
extends CaGePipe


Field Summary
 
Fields inherited from class cage.CaGePipe
propertyChangeListeners
 
Fields inherited from class lisken.systoolbox.Pipe
cmds, e_name, i_fd, i_name, o_append, o_fd, o_name, path, pipe_pid, reader_fd, runDir, writer_fd
 
Constructor Summary
NativeCaGePipe(java.lang.String[][] generatorCmds)
           
NativeCaGePipe(java.lang.String[][] generatorCmds, java.lang.String errFilename)
           
NativeCaGePipe(java.lang.String[][] generatorCmds, java.lang.String inFilename, java.lang.String outFilename, java.lang.String errFilename)
           
 
Method Summary
 void advanceBy(int d)
           
protected  void finalize()
           
 EmbeddableGraph getGraph()
           
 void setFlowing(boolean flowingOn)
           
 void setGraphNoFireInterval(int interval)
           
 void start()
           
 void stop()
           
 boolean wouldBlock()
           
 void yieldAndAdvanceBy(int d)
           
 
Methods inherited from class cage.CaGePipe
addPropertyChangeListener, fireExceptionOccurred, fireFlowingChanged, fireGraphNoChanged, firePropertyChange, fireRunningChanged, getGraphNo, isFlowing, isRunning, removePropertyChangeListener, setGraphNo
 
Methods inherited from class lisken.systoolbox.Pipe
checkForExit, finalizePipe, getInputStream, getOutputStream, main, setPath, setRunDir, startPipe, waitForExit, yieldUntilExit
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeCaGePipe

public NativeCaGePipe(java.lang.String[][] generatorCmds,
                      java.lang.String inFilename,
                      java.lang.String outFilename,
                      java.lang.String errFilename)
               throws java.lang.Exception
Throws:
java.lang.Exception

NativeCaGePipe

public NativeCaGePipe(java.lang.String[][] generatorCmds)
               throws java.lang.Exception
Throws:
java.lang.Exception

NativeCaGePipe

public NativeCaGePipe(java.lang.String[][] generatorCmds,
                      java.lang.String errFilename)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getGraph

public EmbeddableGraph getGraph()
Specified by:
getGraph in class CaGePipe

wouldBlock

public boolean wouldBlock()

setGraphNoFireInterval

public void setGraphNoFireInterval(int interval)
Specified by:
setGraphNoFireInterval in class CaGePipe

start

public void start()
           throws java.lang.Exception
Overrides:
start in class CaGePipe
Throws:
java.lang.Exception

advanceBy

public void advanceBy(int d)
Specified by:
advanceBy in class CaGePipe

yieldAndAdvanceBy

public void yieldAndAdvanceBy(int d)
Specified by:
yieldAndAdvanceBy in class CaGePipe

setFlowing

public void setFlowing(boolean flowingOn)
Overrides:
setFlowing in class CaGePipe

stop

public void stop()
Overrides:
stop in class Pipe

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class Pipe
Throws:
java.lang.Throwable