|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--aleph.comm.Client
A new Client is created at the start of each computation. It creates the PE group, relays outputs from PEs, and goes away when all output streams are closed.
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
Client(java.awt.event.ActionListener listener,
int numPEs,
java.util.Set selectedHosts,
java.lang.String[] args,
java.io.OutputStream[] output,
boolean logging)
Constructor |
|
Client(int numPEs,
java.util.Set selectedHosts,
java.lang.String[] args,
java.io.OutputStream[] output,
boolean logging)
Constructor |
|
| Method Summary | |
void |
eof()
Input stream from PE shutting down. |
void |
exit()
Shutdown immediately |
static Client |
getClient()
Used by messages to locate client. |
void |
run()
This method does the real work. |
void |
stderr(PE pe,
java.lang.String string)
Display a string from a particular PE. |
void |
stdout(PE pe,
java.lang.String string)
Display a string from a particular PE. |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Client(int numPEs,
java.util.Set selectedHosts,
java.lang.String[] args,
java.io.OutputStream[] output,
boolean logging)
numPEs - how many PEs to createselectedHosts - where to create themargs - User's wish is our commandlogging - should we log everything?
public Client(java.awt.event.ActionListener listener,
int numPEs,
java.util.Set selectedHosts,
java.lang.String[] args,
java.io.OutputStream[] output,
boolean logging)
listener - if non-null, notify when donenumPEs - how many PEs to createselectedHosts - where to create themargs - User's wish is our commandlogging - should we log everything?| Method Detail |
public static Client getClient()
public void run()
public void stdout(PE pe,
java.lang.String string)
pe - sourcestring - content
public void stderr(PE pe,
java.lang.String string)
pe - sourcestring - contentpublic void exit()
public void eof()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||