|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessImpl
public class RemoteProcessImpl
Represents a remote process on the client machine. Wrappers an IRemoteServerProcess, with methods for returning information about the underlying process, as well as more client-oriented methods for returning information about the associated subsystem, connection, and filter string.
| Field Summary | |
|---|---|
protected IRemoteProcessContext |
_context
|
protected IRemoteProcess |
_parentProcess
|
protected IHostProcess |
_underlyingProcess
|
static char |
CONNECTION_DELIMITER
|
| Constructor Summary | |
|---|---|
RemoteProcessImpl(IRemoteProcessContext context,
IHostProcess process)
Constructor that takes a context object containing important information. |
|
| Method Summary | |
|---|---|
String |
getAbsolutePath()
Get fully qualified name of associated object in /proc filesystem: root plus path plus pid. |
String |
getAbsolutePathPlusConnection()
Get fully qualified connection and folder name of associated object in /proc filesystem: profile.connection/path/procfolder. |
Object |
getAdapter(Class adapter)
|
String |
getAllProperties()
Returns all properties of this process in the same format as given in the dataelement |
IRemoteProcessContext |
getContext()
Return the context associated with this remote process |
IHostProcessFilter |
getFilterString()
Return the filter string resolved to get this object |
long |
getGid()
Get the process owner's group id (gid) |
String |
getLabel()
Get the display name for this process. |
String |
getName()
Get the name of the executable owning this process |
Object |
getObject()
Subclasses must override to return the underlying object, whether that is a DataElement, or an IRemoteServerProcess |
IRemoteProcess |
getParentRemoteProcess()
Get the parent remote process of this process |
IRemoteProcessSubSystem |
getParentRemoteProcessSubSystem()
Get parent subsystem |
long |
getPid()
Get the process id (pid) associated with this process. |
long |
getPPid()
Get the parent process id (ppid) associated with this process. |
String |
getState()
Get the state of the process |
IHost |
getSystemConnection()
Return the connection this remote process is from. |
long |
getTgid()
Get the Tgid |
long |
getTracerPid()
Get the TracerPid |
long |
getUid()
Get the process owner's user id (uid) |
String |
getUsername()
Get the process owner's username |
long |
getVmRSSInKB()
Returns the virtual memory resident set size of this process (in kB). |
long |
getVmSizeInKB()
Returns the virtual memory size of this process (in kB) |
boolean |
isRoot()
Returns whether this is the root process or not |
void |
setFilterString(IHostProcessFilter filterString)
Set the filter string resolved to get this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char CONNECTION_DELIMITER
protected IRemoteProcessContext _context
protected IHostProcess _underlyingProcess
protected IRemoteProcess _parentProcess
| Constructor Detail |
|---|
public RemoteProcessImpl(IRemoteProcessContext context,
IHostProcess process)
context - An object holding contextual information about this objectIRemoteProcessContext| Method Detail |
|---|
public IRemoteProcessSubSystem getParentRemoteProcessSubSystem()
IRemoteProcess
getParentRemoteProcessSubSystem in interface IRemoteProcesspublic IHost getSystemConnection()
IRemoteProcess
getSystemConnection in interface IRemoteProcesspublic IHostProcessFilter getFilterString()
IRemoteProcess
getFilterString in interface IRemoteProcesspublic void setFilterString(IHostProcessFilter filterString)
setFilterString in interface IRemoteProcesspublic String getAbsolutePathPlusConnection()
IRemoteProcess
getAbsolutePathPlusConnection in interface IRemoteProcesspublic IRemoteProcess getParentRemoteProcess()
IRemoteProcess
getParentRemoteProcess in interface IRemoteProcesspublic IRemoteProcessContext getContext()
getContext in interface IRemoteProcesspublic String getAbsolutePath()
IRemoteProcess
getAbsolutePath in interface IRemoteProcesspublic long getPid()
IHostProcess
getPid in interface IHostProcesspublic long getPPid()
IHostProcess
getPPid in interface IHostProcesspublic String getName()
IHostProcess
getName in interface IHostProcesspublic String getState()
IHostProcess
getState in interface IHostProcesspublic long getTgid()
IHostProcess
getTgid in interface IHostProcesspublic long getTracerPid()
IHostProcess
getTracerPid in interface IHostProcesspublic long getUid()
IHostProcess
getUid in interface IHostProcesspublic String getUsername()
IHostProcess
getUsername in interface IHostProcesspublic long getGid()
IHostProcess
getGid in interface IHostProcesspublic boolean isRoot()
IHostProcess
isRoot in interface IHostProcesspublic String getAllProperties()
IHostProcess
getAllProperties in interface IHostProcesspublic long getVmSizeInKB()
IHostProcess
getVmSizeInKB in interface IHostProcesspublic long getVmRSSInKB()
IHostProcess
getVmRSSInKB in interface IHostProcesspublic String getLabel()
IHostProcess
getLabel in interface IHostProcesspublic Object getObject()
getObject in interface IRemoteProcesspublic Object getAdapter(Class adapter)
getAdapter in interface IAdaptable
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||