Class Pipe

  • All Implemented Interfaces:
    java.lang.Runnable

    public class Pipe
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      Pipe​(Closure closure, java.util.List<Token> statement)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Pipe connect​(Pipe next)  
      static java.lang.Object[] mark()  
      static void reset​(java.lang.Object[] mark)  
      void run()  
      void setErr​(java.io.PrintStream err)  
      void setIn​(java.io.InputStream in)  
      void setOut​(java.io.PrintStream out)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Pipe

        public Pipe​(Closure closure,
                    java.util.List<Token> statement)
    • Method Detail

      • mark

        public static java.lang.Object[] mark()
      • reset

        public static void reset​(java.lang.Object[] mark)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Thread
      • setIn

        public void setIn​(java.io.InputStream in)
      • setOut

        public void setOut​(java.io.PrintStream out)
      • setErr

        public void setErr​(java.io.PrintStream err)
      • connect

        public Pipe connect​(Pipe next)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread