cage
Class CaGePipe
java.lang.Object
lisken.systoolbox.Pipe
cage.CaGePipe
- All Implemented Interfaces:
- CaGeRunner
- Direct Known Subclasses:
- NativeCaGePipe
public abstract class CaGePipe
- extends Pipe
- implements CaGeRunner
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 |
CaGePipe(java.lang.String[][] generatorCmds,
java.lang.String inFilename,
java.lang.String outFilename,
java.lang.String errFilename)
|
Methods inherited from class lisken.systoolbox.Pipe |
checkForExit, finalize, finalizePipe, getInputStream, getOutputStream, main, setPath, setRunDir, startPipe, stop, waitForExit, yieldUntilExit |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyChangeListeners
protected final java.util.Vector propertyChangeListeners
CaGePipe
public CaGePipe(java.lang.String[][] generatorCmds,
java.lang.String inFilename,
java.lang.String outFilename,
java.lang.String errFilename)
throws java.lang.Exception
- Throws:
java.lang.Exception
advanceBy
public abstract void advanceBy(int n)
throws java.lang.Exception
- Throws:
java.lang.Exception
yieldAndAdvanceBy
public abstract void yieldAndAdvanceBy(int n)
throws java.lang.Exception
- Throws:
java.lang.Exception
setGraphNoFireInterval
public abstract void setGraphNoFireInterval(int interval)
getGraph
public abstract EmbeddableGraph getGraph()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Overrides:
start
in class Pipe
- Throws:
java.lang.Exception
getGraphNo
public int getGraphNo()
- Specified by:
getGraphNo
in interface CaGeRunner
setGraphNo
public void setGraphNo(int n)
throws java.lang.Exception
- Throws:
java.lang.Exception
setFlowing
public void setFlowing(boolean flowing)
throws java.lang.Exception
- Throws:
java.lang.Exception
isFlowing
public boolean isFlowing()
isRunning
public boolean isRunning()
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface CaGeRunner
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface CaGeRunner
fireGraphNoChanged
public void fireGraphNoChanged()
- Specified by:
fireGraphNoChanged
in interface CaGeRunner
fireFlowingChanged
public void fireFlowingChanged()
fireRunningChanged
public void fireRunningChanged()
- Specified by:
fireRunningChanged
in interface CaGeRunner
fireExceptionOccurred
public void fireExceptionOccurred(java.lang.Exception e)
- Specified by:
fireExceptionOccurred
in interface CaGeRunner
firePropertyChange
protected void firePropertyChange(java.beans.PropertyChangeEvent e)