|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.rse.services.AbstractService
org.eclipse.rse.services.processes.AbstractProcessService
public abstract class AbstractProcessService
Abstract base class for RSE Process Service.
Constructor Summary | |
---|---|
AbstractProcessService()
|
Method Summary | |
---|---|
SystemMessage |
getMessage(String messageID)
Deprecated. This method was removed from IProcessService in RSE 3.0, and implementers are not expected to return anything useful. Use SimpleSystemMessage to create system messages
instead. |
IHostProcess |
getParentProcess(long pid,
IProgressMonitor monitor)
Given a process, return its parent process object. |
IHostProcess |
getProcess(long pid,
IProgressMonitor monitor)
Given a pid, return an IHostProcess object for it. |
IHostProcess[] |
listAllProcesses(IProgressMonitor monitor)
Return a list of all processes on the remote system. |
IHostProcess[] |
listAllProcesses(String exeNameFilter,
String userNameFilter,
String stateFilter,
IProgressMonitor monitor)
Return a filtered list of all processes on the remote system. |
IHostProcess[] |
listChildProcesses(long parentPID,
IHostProcessFilter filter,
IProgressMonitor monitor)
Return a filtered list of remote child processes of the given parent process on the remote system |
IHostProcess[] |
listChildProcesses(long parentPID,
IProgressMonitor monitor)
Return a list of all remote child processes of the given parent process on the remote system |
IHostProcess[] |
listRootProcesses(IProgressMonitor monitor)
Return a single IHostProcess object for the 'init' process with pid 1. |
Methods inherited from class org.eclipse.rse.services.AbstractService |
---|
getDescription, getName, initService, uninitService |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
---|
getAdapter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.rse.services.processes.IProcessService |
---|
getSignalTypes, kill, listAllProcesses |
Methods inherited from interface org.eclipse.rse.services.IService |
---|
getDescription, getName, initService, uninitService |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
public AbstractProcessService()
Method Detail |
---|
public IHostProcess[] listAllProcesses(String exeNameFilter, String userNameFilter, String stateFilter, IProgressMonitor monitor) throws SystemMessageException
IProcessService
listAllProcesses
in interface IProcessService
exeNameFilter
- The executable name to filter results by, or null if
no exeName filteringuserNameFilter
- The user name to filter results by, or null if no
userName filteringstateFilter
- The state code to filter results by, or null if no
state filteringmonitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic IHostProcess[] listAllProcesses(IProgressMonitor monitor) throws SystemMessageException
IProcessService
listAllProcesses
in interface IProcessService
monitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic IHostProcess[] listRootProcesses(IProgressMonitor monitor) throws SystemMessageException
listRootProcesses
in interface IProcessService
monitor
- Progress monitor
SystemMessageException
- in case anything goes wrongIProcessService.listRootProcesses(org.eclipse.core.runtime.IProgressMonitor)
public IHostProcess[] listChildProcesses(long parentPID, IProgressMonitor monitor) throws SystemMessageException
IProcessService
listChildProcesses
in interface IProcessService
parentPID
- The ID of the parent process whose children are to be
listedmonitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic IHostProcess[] listChildProcesses(long parentPID, IHostProcessFilter filter, IProgressMonitor monitor) throws SystemMessageException
IProcessService
listChildProcesses
in interface IProcessService
parentPID
- The ID of the parent process whose children are to be
listedfilter
- A filter to narrow results bymonitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic IHostProcess getParentProcess(long pid, IProgressMonitor monitor) throws SystemMessageException
IProcessService
getParentProcess
in interface IProcessService
pid
- the ID of the process to return parent of.monitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic IHostProcess getProcess(long pid, IProgressMonitor monitor) throws SystemMessageException
IProcessService
getProcess
in interface IProcessService
pid
- The process ID of the desired processmonitor
- A progress monitor to which progress will be reported
SystemMessageException
- in case anything goes wrongpublic SystemMessage getMessage(String messageID)
SimpleSystemMessage
to create system messages
instead.
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |