RSE
Release 1.0

org.eclipse.rse.subsystems.processes.local
Class LocalProcessAdapter

java.lang.Object
  extended byorg.eclipse.rse.subsystems.processes.local.LocalProcessAdapter
All Implemented Interfaces:
IHostProcessToRemoteProcessAdapter

public class LocalProcessAdapter
extends Object
implements IHostProcessToRemoteProcessAdapter

Adapter for converting IHostProcess objects (objects where the underlying process resides on the local machine) to IRemoteProcess objects


Constructor Summary
LocalProcessAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalProcessAdapter

public LocalProcessAdapter()
Method Detail

convertToRemoteProcesses

public IRemoteProcess[] convertToRemoteProcesses(IRemoteProcessContext context,
                                                 IRemoteProcess parent,
                                                 IHostProcess[] nodes)
Description copied from interface: IHostProcessToRemoteProcessAdapter
Convert a set of IHostProcess objects to IRemoteProcess objects.

Specified by:
convertToRemoteProcesses in interface IHostProcessToRemoteProcessAdapter
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

public IRemoteProcess convertToRemoteProcess(IRemoteProcessContext context,
                                             IRemoteProcess parent,
                                             IHostProcess node)
Description copied from interface: IHostProcessToRemoteProcessAdapter
Convert a single IHostProcess object to an IRemoteProcess object.

Specified by:
convertToRemoteProcess in interface IHostProcessToRemoteProcessAdapter
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 1.0

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