|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--aleph.PE
A PE object names a Processing Element. A PE can be
| Inner Class Summary | |
static class |
PE.HaltMessage
Ask PE to shut down |
static class |
PE.TellChild
Tell new PE about group. |
| Method Summary | |
static java.util.Iterator |
allPEs()
|
static void |
closeConsoleStreams()
Close input and error streams to console. |
boolean |
equals(java.lang.Object anObject)
Always compare PEs with equals, never ==. |
static void |
exit(int code)
Shut down me, my children, and my group. |
Address |
getAddress()
|
int |
getIndex()
|
static PE |
getPE(int i)
|
static void |
halt(int code)
Shut down me and my children, but not other group members. |
int |
hashCode()
|
static void |
main(java.lang.String[] args)
Top-level program called by Server. |
static int |
numPEs()
|
static void |
panic()
Shuts down peers, children, and parent. |
static void |
panic(PE sender)
Shuts down peers, children, and parent. |
boolean |
ping()
|
static java.util.Iterator |
roundRobin()
|
boolean |
stop()
Shuts down a PE and its children. |
boolean |
stop(int code)
Shuts down a PE and its children. |
static PE |
thisPE()
Identity politics. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Method Detail |
public Address getAddress()
public boolean ping()
public boolean equals(java.lang.Object anObject)
equals, never ==.public int hashCode()
public java.lang.String toString()
public static PE thisPE()
public static int numPEs()
public static java.util.Iterator allPEs()
public static java.util.Iterator roundRobin()
public static void main(java.lang.String[] args)
public boolean stop()
throws java.lang.SecurityException
public boolean stop(int code)
throws java.lang.SecurityException
code - termination codepublic static void exit(int code)
code - exit code (0 is normal, etc).public static void halt(int code)
code - exit code (0 is normal, etc).public static void panic()
public static void panic(PE sender)
public int getIndex()
public static PE getPE(int i)
public static void closeConsoleStreams()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||