Remote Systems
v6.4.1

com.ibm.etools.systems.launch
Class RemoteCommandShellOperationHelper

java.lang.Object
  extended bycom.ibm.etools.systems.commands.RemoteCommandShellOperation
      extended bycom.ibm.etools.systems.launch.RemoteCommandShellOperationHelper
All Implemented Interfaces:
EventListener, ISystemResourceChangeListener

public class RemoteCommandShellOperationHelper
extends RemoteCommandShellOperation


Nested Class Summary
 
Nested classes inherited from class com.ibm.etools.systems.commands.RemoteCommandShellOperation
RemoteCommandShellOperation.CommandAlias
 
Field Summary
protected  boolean needToCheckDuplicate
           
protected  boolean validIOReceived
           
 
Fields inherited from class com.ibm.etools.systems.commands.RemoteCommandShellOperation
_cmdSubSystem, _pwd, _remoteCmdShell, _shell
 
Fields inherited from interface com.ibm.etools.systems.model.ISystemResourceChangeListener
copyright
 
Constructor Summary
RemoteCommandShellOperationHelper(Shell shell, RemoteCmdSubSystem cmdSubSystem, IRemoteFile pwd, IRemoteIORedirector remoteIORedirector)
           
 
Method Summary
 void addListener(IRemoteOutputProxyEventListener listener)
           
protected  void fireEvent(RemoteOutputProxyEvent event)
           
 IRemoteIORedirector getRemoteIORedirector()
           
 void handleCommandFinished(String cmd)
           
 void handleOutputChanged(String command, Object output)
           
 void removeListener(IRemoteOutputProxyEventListener listener)
           
 void setRemoteIORedirector(IRemoteIORedirector remoteIORedirector)
           
 
Methods inherited from class com.ibm.etools.systems.commands.RemoteCommandShellOperation
associateProject, commandMatches, finish, getCurrentCommand, getRemoteCommandShell, getShell, handleShellFinished, isActive, outputUpdated, run, sendCommand, sendInput, setWorkingDirectory, systemResourceChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validIOReceived

protected boolean validIOReceived

needToCheckDuplicate

protected boolean needToCheckDuplicate
Constructor Detail

RemoteCommandShellOperationHelper

public RemoteCommandShellOperationHelper(Shell shell,
                                         RemoteCmdSubSystem cmdSubSystem,
                                         IRemoteFile pwd,
                                         IRemoteIORedirector remoteIORedirector)
Method Detail

handleCommandFinished

public void handleCommandFinished(String cmd)
Specified by:
handleCommandFinished in class RemoteCommandShellOperation

handleOutputChanged

public void handleOutputChanged(String command,
                                Object output)
Specified by:
handleOutputChanged in class RemoteCommandShellOperation

addListener

public void addListener(IRemoteOutputProxyEventListener listener)

removeListener

public void removeListener(IRemoteOutputProxyEventListener listener)

fireEvent

protected void fireEvent(RemoteOutputProxyEvent event)

setRemoteIORedirector

public void setRemoteIORedirector(IRemoteIORedirector remoteIORedirector)

getRemoteIORedirector

public IRemoteIORedirector getRemoteIORedirector()

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.