RSE
Release 1.0

org.eclipse.rse.dstore.universal.miners.command
Class OutputHandler

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.eclipse.dstore.core.model.Handler
          extended byorg.eclipse.rse.dstore.universal.miners.command.OutputHandler
All Implemented Interfaces:
Runnable

public class OutputHandler
extends org.eclipse.dstore.core.model.Handler

The OutputHandler class is used to listen to a particular output or error stream, interpret that information and create DataElements for it for use on the client.


Field Summary
 
Fields inherited from class org.eclipse.dstore.core.model.Handler
_dataStore, _keepRunning, _waitIncrement
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OutputHandler(DataInputStream reader, String qualifier, boolean isTerminal, boolean isStdError, boolean isShell, CommandMinerThread commandThread)
           
 
Method Summary
 void handle()
           
 void newCommand()
           
 void waitForInput()
           
 
Methods inherited from class org.eclipse.dstore.core.model.Handler
finish, getWaitTime, isFinished, notifyInput, run, setDataStore, setWaitTime
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputHandler

public OutputHandler(DataInputStream reader,
                     String qualifier,
                     boolean isTerminal,
                     boolean isStdError,
                     boolean isShell,
                     CommandMinerThread commandThread)
Method Detail

newCommand

public void newCommand()

handle

public void handle()

waitForInput

public void waitForInput()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.