|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.services.processes.AbstractProcessService
public abstract class AbstractProcessService
| Constructor Summary | |
|---|---|
AbstractProcessService()
|
|
| Method Summary | |
|---|---|
SystemMessage |
getMessage(String messageID)
|
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 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 |
| Constructor Detail |
|---|
public AbstractProcessService()
| Method Detail |
|---|
public IHostProcess[] listAllProcesses(String exeNameFilter,
String userNameFilter,
String stateFilter,
IProgressMonitor monitor)
throws SystemMessageException
IProcessService
listAllProcesses in interface IProcessServiceexeNameFilter - 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
public IHostProcess[] listAllProcesses(IProgressMonitor monitor)
throws SystemMessageException
IProcessService
listAllProcesses in interface IProcessServicemonitor - A progress monitor to which progress will be reported
SystemMessageException
public IHostProcess[] listRootProcesses(IProgressMonitor monitor)
throws SystemMessageException
listRootProcesses in interface IProcessServicemonitor - Progress monitor
SystemMessageExceptionIProcessService.listRootProcesses(org.eclipse.core.runtime.IProgressMonitor)
public IHostProcess[] listChildProcesses(long parentPID,
IProgressMonitor monitor)
throws SystemMessageException
IProcessService
listChildProcesses in interface IProcessServiceparentPID - The ID of the parent process whose children are to be listedmonitor - A progress monitor to which progress will be reported
SystemMessageException
public IHostProcess[] listChildProcesses(long parentPID,
IHostProcessFilter filter,
IProgressMonitor monitor)
throws SystemMessageException
IProcessService
listChildProcesses in interface IProcessServiceparentPID - 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
public IHostProcess getParentProcess(long pid,
IProgressMonitor monitor)
throws SystemMessageException
IProcessService
getParentProcess in interface IProcessServicepid - the ID of the process to return parent of.monitor - A progress monitor to which progress will be reported
SystemMessageException
public IHostProcess getProcess(long pid,
IProgressMonitor monitor)
throws SystemMessageException
IProcessService
getProcess in interface IProcessServicepid - The process ID of the desired processmonitor - A progress monitor to which progress will be reported
SystemMessageExceptionpublic SystemMessage getMessage(String messageID)
getMessage in interface IService
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||