org.apache.felix.gogo.runtime
Class Pipe

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.felix.gogo.runtime.Pipe
All Implemented Interfaces:
Runnable

public class Pipe
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Pipe(Closure closure, List<Token> statement)
           
 
Method Summary
 Pipe connect(Pipe next)
           
static Object[] mark()
           
static void reset(Object[] mark)
           
 void run()
           
 void setErr(PrintStream err)
           
 void setIn(InputStream in)
           
 void setOut(PrintStream out)
           
 String toString()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, 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,
            List<Token> statement)
Method Detail

mark

public static Object[] mark()

reset

public static void reset(Object[] mark)

toString

public String toString()
Overrides:
toString in class Thread

setIn

public void setIn(InputStream in)

setOut

public void setOut(PrintStream out)

setErr

public void setErr(PrintStream err)

connect

public Pipe connect(Pipe next)
             throws IOException
Throws:
IOException

run

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


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.