Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.miners.command
Class OutputHandler

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ibm.etools.systems.dstore.core.model.Handler
          extended bycom.ibm.etools.systems.dstore.miners.command.OutputHandler
All Implemented Interfaces:
Runnable

public class OutputHandler
extends 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
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.dstore.core.model.Handler
_dataStore, _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()
          Implemented to provide the periodic activity to be done in a handler.
 void newCommand()
           
 
Methods inherited from class com.ibm.etools.systems.dstore.core.model.Handler
finish, getWaitTime, isFinished, 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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
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()
Description copied from class: Handler
Implemented to provide the periodic activity to be done in a handler. This method is called between wait intervals by the handler thread.

Specified by:
handle in class Handler

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.