Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.processes.core.subsystem.impl
Class RemoteProcessContext


java.lang.Object
  extended by 
org.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessContext
All Implemented Interfaces:
IRemoteProcessContext

public class RemoteProcessContext
extends Object
implements IRemoteProcessContext

This class represents a place to hold contextual information stored within each remote process object.

We store in here information that might be the same for multiple remote process objects, in order to save memory. This way, we can merely hold a reference to a single object, which itself may have numerous pieces of information helpful when processing actions on a particular remote object.


Field Summary
protected   Vector allFilterStrings
           
protected   IHostProcessFilter filterString
           
protected   IRemoteProcess parentProcess
           
protected   IRemoteProcessSubSystem subsystem
           
 
Constructor Summary
RemoteProcessContext ()
          Constructor that takes no inputs.
RemoteProcessContext ( IRemoteProcessSubSystem subsystem, IRemoteProcess parentProcessObject, IHostProcessFilter filterString)
          Constructor that takes all inputs.
 
Method Summary
 void addFilterString ( IHostProcessFilter additionalFilterString)
          Add an additional filter string.
  IHostProcessFilter[] getAllFilterStrings ()
          Return all the filter string objects applicable to this folder object.
  IHostProcessFilter getFilterString ()
          Return the filter string object resolved to get this object
  IRemoteProcess getParentRemoteProcess ()
          Return the parent remote process object expanded to get this object, or null if no such parent
  IRemoteProcessSubSystem getParentRemoteProcessSubSystem ()
          Return the parent subsystem
 void setFilterString ( IHostProcessFilter filterString)
          Set the filter string object resolved to get this object
 void setParentRemoteProcess ( IRemoteProcess parentProcessObject)
          Set the parent remote process object of this process
 void setParentRemoteProcessSubSystem ( IRemoteProcessSubSystem subsystem)
          Set the parent subsystem
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subsystem

protected 
IRemoteProcessSubSystem subsystem

parentProcess

protected 
IRemoteProcess parentProcess

filterString

protected 
IHostProcessFilter filterString

allFilterStrings

protected 
Vector allFilterStrings
Constructor Detail

RemoteProcessContext

public RemoteProcessContext(
IRemoteProcessSubSystem subsystem,
                            
IRemoteProcess parentProcessObject,
                            
IHostProcessFilter filterString)
Constructor that takes all inputs.


RemoteProcessContext

public RemoteProcessContext()
Constructor that takes no inputs.

Method Detail

setParentRemoteProcessSubSystem

public void setParentRemoteProcessSubSystem(
IRemoteProcessSubSystem subsystem)
Set the parent subsystem

Specified by:
setParentRemoteProcessSubSystem in interface IRemoteProcessContext

setParentRemoteProcess

public void setParentRemoteProcess(
IRemoteProcess parentProcessObject)
Set the parent remote process object of this process

Specified by:
setParentRemoteProcess in interface IRemoteProcessContext

setFilterString

public void setFilterString(
IHostProcessFilter filterString)
Set the filter string object resolved to get this object

Specified by:
setFilterString in interface IRemoteProcessContext

addFilterString

public void addFilterString(
IHostProcessFilter additionalFilterString)
Add an additional filter string. This is called for folders in a multi-filter string filter. It is needed to support the subsequent expansion of this process, so that it can filter on all the appropriate filter strings.

Specified by:
addFilterString in interface IRemoteProcessContext

getParentRemoteProcessSubSystem

public 
IRemoteProcessSubSystem getParentRemoteProcessSubSystem()
Return the parent subsystem

Specified by:
getParentRemoteProcessSubSystem in interface IRemoteProcessContext

getParentRemoteProcess

public 
IRemoteProcess getParentRemoteProcess()
Return the parent remote process object expanded to get this object, or null if no such parent

Specified by:
getParentRemoteProcess in interface IRemoteProcessContext

getFilterString

public 
IHostProcessFilter getFilterString()
Return the filter string object resolved to get this object

Specified by:
getFilterString in interface IRemoteProcessContext

getAllFilterStrings

public 
IHostProcessFilter[] getAllFilterStrings()
Return all the filter string objects applicable to this folder object.

Specified by:
getAllFilterStrings in interface IRemoteProcessContext

RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire