|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.proc.Proc
public abstract class Proc
A UNIX Process, containing tasks, memory, ...
Nested Class Summary | |
---|---|
class |
Proc.ObservableXXX
XXX: Temporary until .observable's are converted to .requestAddObserver. |
Field Summary | |
---|---|
Proc.ObservableXXX |
observableAttachedXXX
XXX: Clients should look at the updateRemoved() observer and use that to determine when they are attached or detached. |
Proc.ObservableXXX |
observableDetachedXXX
XXX: Clients should look at the updateRemoved() observer and use that to determine when they are attached or detached. |
Proc |
parent
XXX: This should not be public. |
Method Summary | |
---|---|
void |
add(Proc child)
Add Proc as a new child XXX: This should not be public. |
int |
compareTo(Object o)
|
abstract Auxv[] |
getAuxv()
The Process Auxiliary Vector. |
LinkedList |
getChildren()
Get the children as an array. |
abstract String[] |
getCmdLine()
Return the Proc's command line argument list |
abstract String |
getCommand()
Return the basename of the program that this process is running. |
abstract SysRootFile |
getExeFile()
Return the SysRoot path of the program that this process is running. |
abstract int |
getGID()
Return the GID of the Proc. |
Host |
getHost()
Return the Proc's Host. |
abstract Task |
getMainTask()
|
MemoryMap |
getMap(long address)
|
abstract MemoryMap[] |
getMaps()
|
Proc |
getParent()
|
int |
getPid()
|
LinkedList |
getTasks()
Return this Proc's Task's as a list. |
abstract int |
getUID()
Return the UID of the Proc. |
void |
remove(Proc child)
Remove Proc from this processes children. |
void |
requestAbandon()
Request that the Proc be forcefully detached. |
void |
requestAbandonAndRunEvent(Event e)
Request that the Proc be forcefully detached. |
void |
requestKill()
killRequest handles killing off processes that either the commandline or GUI have designated need to be removed from the CPU queue. |
void |
sendRefresh()
XXX: Should not be public; should be frysk.proc.live private. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Proc parent
public Proc.ObservableXXX observableAttachedXXX
public Proc.ObservableXXX observableDetachedXXX
Method Detail |
---|
public Proc getParent()
public Host getHost()
public int getPid()
public abstract String getCommand()
public abstract SysRootFile getExeFile()
public abstract int getUID()
public abstract int getGID()
public abstract Task getMainTask()
public abstract String[] getCmdLine()
public abstract MemoryMap[] getMaps()
public MemoryMap getMap(long address)
public void sendRefresh()
public void requestKill()
public void requestAbandon()
public void requestAbandonAndRunEvent(Event e)
e
- The event to run upon successful detach.public void add(Proc child)
public void remove(Proc child)
public LinkedList getChildren()
public LinkedList getTasks()
public abstract Auxv[] getAuxv()
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |