org.eclipse.rse.services.shells
Class AbstractHostShellOutputReader
java.lang.Object
java.lang.Thread
org.eclipse.rse.services.shells.AbstractHostShellOutputReader
-
All Implemented Interfaces:
-
Runnable,
IHostShellOutputNotifier,
IHostShellOutputReader
-
public abstract class AbstractHostShellOutputReader
- extends
Thread
- implements
IHostShellOutputReader
Methods inherited from class java.lang.
Thread
|
activeCount,
checkAccess,
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,
toString,
yield
|
_listeners
protected
List _listeners
_waitIncrement
protected int _waitIncrement
_keepRunning
protected boolean _keepRunning
_linesOfOutput
protected
List _linesOfOutput
_consumerOffset
protected int _consumerOffset
_hostShell
protected
IHostShell _hostShell
_isErrorReader
protected boolean _isErrorReader
_timeOfLastEvent
protected long _timeOfLastEvent
_sizeAtLastEvent
protected int _sizeAtLastEvent
AbstractHostShellOutputReader
public AbstractHostShellOutputReader(
IHostShell hostShell,
boolean isErrorReader)
isErrorReader
public boolean isErrorReader()
-
-
Specified by:
-
isErrorReader
in interface
IHostShellOutputReader
-
getHostShell
public
IHostShell getHostShell()
-
-
setWaitTime
public void setWaitTime(int value)
-
-
getWaitTime
public int getWaitTime()
-
-
handle
public void handle()
-
-
addLine
protected void addLine(
IHostOutput line)
-
-
startIfNotAlive
protected final void startIfNotAlive()
-
-
-
Since:
- 3.0
readLine
public
IHostOutput readLine()
-
-
Specified by:
-
readLine
in interface
IHostShellOutputReader
-
readLine
public
IHostOutput readLine(int lineNumber)
-
-
Specified by:
-
readLine
in interface
IHostShellOutputReader
-
setLineOffset
public void setLineOffset(int lineNumber)
-
-
addOutputListener
public void addOutputListener(
IHostShellOutputListener listener)
-
-
Specified by:
-
addOutputListener
in interface
IHostShellOutputReader
-
fireOutputChanged
public void fireOutputChanged(
IHostShellChangeEvent event)
-
-
Specified by:
-
fireOutputChanged
in interface
IHostShellOutputNotifier
-
dispose
public void dispose()
-
-
isFinished
public boolean isFinished()
-
-
finish
public void finish()
-
-
Specified by:
-
finish
in interface
IHostShellOutputReader
-
run
public void run()
-
-
Specified by:
-
run
in interface
Runnable
-
Overrides:
-
run
in class
Thread
-
internalReadLine
protected abstract
IHostOutput internalReadLine()
-
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.