|
RSE Release 3.4 |
|||||||||
| 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 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 - in case anything goes wrong
public IHostProcess[] listAllProcesses(IProgressMonitor monitor)
throws SystemMessageException
IProcessService
listAllProcesses in interface IProcessServicemonitor - A progress monitor to which progress will be reported
SystemMessageException - in case anything goes wrong
public IHostProcess[] listRootProcesses(IProgressMonitor monitor)
throws SystemMessageException
listRootProcesses in interface IProcessServicemonitor - 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 IProcessServiceparentPID - 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 wrong
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 - in case anything goes wrong
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 - in case anything goes wrong
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
SystemMessageException - in case anything goes wrongpublic SystemMessage getMessage(String messageID)
SimpleSystemMessage to create system messages
instead.
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||