|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.symcomp.wupsi.handlers.WupsiHandler
org.symcomp.wupsi.handlers.SPSDHandler
public class SPSDHandler
handle the 'spsd' command family which is used to administer the 'Simple Parallel SCSCP Dispatcher'.
| Constructor Summary | |
|---|---|
SPSDHandler(Wupsifer w)
|
|
| Method Summary | |
|---|---|
void |
addWorkers(java.lang.String[] args)
|
void |
clearWorker(org.symcomp.scscp.SCSCPClient client)
|
void |
clearWorkers()
|
java.lang.String |
command()
If the beginning of the current command mathes this string, this is the correct handler to be called. |
void |
handle(java.lang.String in)
this method is called with the entered command by Wupsifer |
java.lang.String |
help()
some usage infos |
void |
showWorkers()
|
void |
shutdownHook()
called on shutdown so that the handler can do necessary cleanup actions |
void |
startServer(int port)
|
void |
startServer(java.lang.String spsdName)
|
void |
systemDiedHook(org.symcomp.scscp.SCSCPClient client)
called when a system dies so that the handler can do necessary cleanup actions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPSDHandler(Wupsifer w)
| Method Detail |
|---|
public java.lang.String command()
WupsiHandler
command in class WupsiHandlerpublic void startServer(java.lang.String spsdName)
public void addWorkers(java.lang.String[] args)
public void clearWorkers()
public void clearWorker(org.symcomp.scscp.SCSCPClient client)
public void showWorkers()
public void startServer(int port)
public void handle(java.lang.String in)
WupsiHandler
handle in class WupsiHandlerin - the entered commandpublic java.lang.String help()
WupsiHandler
help in class WupsiHandlerpublic void shutdownHook()
WupsiHandler
shutdownHook in class WupsiHandlerpublic void systemDiedHook(org.symcomp.scscp.SCSCPClient client)
WupsiHandler
systemDiedHook in class WupsiHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||