RSE
Release 1.0

org.eclipse.rse.services.ssh.shell
Class SshShellOutputReader

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.eclipse.rse.services.shells.AbstractHostShellOutputReader
          extended byorg.eclipse.rse.services.ssh.shell.SshShellOutputReader
All Implemented Interfaces:
IHostShellOutputNotifier, IHostShellOutputReader, Runnable

public class SshShellOutputReader
extends AbstractHostShellOutputReader
implements IHostShellOutputReader

Listener to shell output. As io streams through, refresh events are sent out for the OutputChangeListener to respond to. VT100 terminal escape sequences are ignored.


Field Summary
protected  BufferedReader fReader
           
 
Fields inherited from class org.eclipse.rse.services.shells.AbstractHostShellOutputReader
_consumerOffset, _hostShell, _isErrorReader, _keepRunning, _linesOfOutput, _listeners, _sizeAtLastEvent, _timeOfLastEvent, _waitIncrement
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SshShellOutputReader(IHostShell hostShell, BufferedReader reader, boolean isErrorReader)
           
 
Method Summary
 void dispose()
           
protected  IHostOutput internalReadLine()
           
 
Methods inherited from class org.eclipse.rse.services.shells.AbstractHostShellOutputReader
addLine, addOutputListener, finish, fireOutputChanged, getHostShell, getWaitTime, handle, isErrorReader, isFinished, readLine, readLine, run, setLineOffset, 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
 
Methods inherited from interface org.eclipse.rse.services.shells.IHostShellOutputReader
addOutputListener, finish, isErrorReader, readLine, readLine
 
Methods inherited from interface org.eclipse.rse.services.shells.IHostShellOutputNotifier
fireOutputChanged
 

Field Detail

fReader

protected BufferedReader fReader
Constructor Detail

SshShellOutputReader

public SshShellOutputReader(IHostShell hostShell,
                            BufferedReader reader,
                            boolean isErrorReader)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class AbstractHostShellOutputReader

internalReadLine

protected IHostOutput internalReadLine()
Specified by:
internalReadLine in class AbstractHostShellOutputReader

RSE
Release 1.0

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