RSE
Release 3.0

org.eclipse.rse.subsystems.processes.core.subsystem
Interface IHostProcessToRemoteProcessAdapter


public interface IHostProcessToRemoteProcessAdapter

An adapter for converting from IHostProcesses to IRemoteProcesses. An IHostProcess is an abstract representation of a process on a host machine, whereas an IRemoteProcess also contains information that is RSE specific.


Method Summary
 IRemoteProcess convertToRemoteProcess(IRemoteProcessContext context, IRemoteProcess parent, IHostProcess node)
          Convert a single IHostProcess object to an IRemoteProcess object.
 IRemoteProcess[] convertToRemoteProcesses(IRemoteProcessContext context, IRemoteProcess parent, IHostProcess[] nodes)
          Convert a set of IHostProcess objects to IRemoteProcess objects.
 

Method Detail

convertToRemoteProcesses

IRemoteProcess[] convertToRemoteProcesses(IRemoteProcessContext context,
                                          IRemoteProcess parent,
                                          IHostProcess[] nodes)
Convert a set of IHostProcess objects to IRemoteProcess objects.

Parameters:
context - An object representing some contextual information for the processes
parent - The parent process object
nodes - The set of IHostProcess objects to convert
Returns:
the converted objects

convertToRemoteProcess

IRemoteProcess convertToRemoteProcess(IRemoteProcessContext context,
                                      IRemoteProcess parent,
                                      IHostProcess node)
Convert a single IHostProcess object to an IRemoteProcess object.

Parameters:
context - An object representing some contextual information for the process
parent - The parent process object
node - The IHostProcess object to convert
Returns:
the converted object

RSE
Release 3.0

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