|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.kaariboga.core.Kaariboga | +--org.kaariboga.agents.Executer
The Executer is able to execute a program on a remote machine. This one only works when the server is started with the -soff option which disables the security manager: java org.kaariboga.server.Boga -soff
Inner classes inherited from class org.kaariboga.core.Kaariboga |
Kaariboga.FireEventThread, Kaariboga.FireMessageThread |
Field Summary | |
(package private) java.lang.String |
command
The command to be executed. |
private java.lang.Runtime |
rntime
Runtime object of the current JVM. |
Fields inherited from class org.kaariboga.core.Kaariboga |
base, destination, kaaribogaListener, messageListener, name |
Constructor Summary | |
Executer(java.lang.String name)
Creates a new executer and sets the command to execute. |
Method Summary | |
void |
run()
Executes the given command if the base was started with the security off option (-soff). |
Methods inherited from class org.kaariboga.core.Kaariboga |
addKaaribogaListener, addKaaribogaMessageListener, fireDestroyRequest, fireDispatchRequest, fireKaaribogaMessage, fireSleepRequest, getDestination, getName, handleMessage, onArrival, onAwake, onCreate, onDestroy, onDispatch, onSleep, setBase, toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
private transient java.lang.Runtime rntime
java.lang.String command
Constructor Detail |
public Executer(java.lang.String name)
Method Detail |
public void run()
run
in class Kaariboga
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |