All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.APCpath.operators.ProcessOperator
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----iceberg.APCpath.operators.Operator
|
+----iceberg.APCpath.operators.ProcessOperator
- public abstract class ProcessOperator
- extends Operator
- implements Runnable
-
bufferlen
-
-
IN
-
-
in
-
-
IPBLOCKSIZE
-
-
lock
-
-
myname
-
-
numRecv
-
-
numSent
-
-
OPBLOCKSIZE
-
-
opinput
-
-
opoutput
-
-
OUT
-
-
out
-
-
proc
-
-
procinput
-
-
procInThread
-
-
procoutput
-
-
procOutThread
-
-
ProcessOperator(String)
-
-
ProcessOperator(String, String, String)
- Construct a new ProcessOperator.
-
exec()
- Start any executable - gives a better measure of the end2end
perf at the client
-
getCmd()
-
-
getProcess()
-
-
ipBlockSize()
-
-
kill()
- the default implementation of kill() unexports the
NinjaRemoteObject and kills all connectors.
-
opBlockSize()
-
-
run()
-
-
setProcOutThread(Thread)
-
-
start(DescrOperator)
- start this operator running.
-
stop()
- stop this operator from running.
-
wakeUp()
-
numRecv
public int numRecv
numSent
public int numSent
lock
public Object lock
IN
public static final String IN
OUT
public static final String OUT
myname
public String myname
bufferlen
protected static final int bufferlen
OPBLOCKSIZE
protected static final int OPBLOCKSIZE
IPBLOCKSIZE
protected static final int IPBLOCKSIZE
opinput
protected StreamConnectorReaderIF opinput
opoutput
protected StreamConnectorWriterIF opoutput
procinput
protected InputStream procinput
procoutput
protected OutputStream procoutput
in
protected String in
out
protected String out
proc
protected Process proc
procInThread
protected Thread procInThread
procOutThread
protected Thread procOutThread
ProcessOperator
public ProcessOperator(String myname,
String in,
String out) throws RemoteException
- Construct a new ProcessOperator. myname is the
name for this operator. in is the id of the input
to pull date from. out is the id of the output
to push data to. (in and/or out are null if they
shouldn't be used).
ProcessOperator
public ProcessOperator(String myname) throws RemoteException
getCmd
protected abstract String[] getCmd()
start
public void start(DescrOperator descrop)
- start this operator running.
- Overrides:
- start in class Operator
stop
public void stop()
- stop this operator from running.
- Overrides:
- stop in class Operator
wakeUp
public void wakeUp() throws RemoteException
- Overrides:
- wakeUp in class Operator
kill
public void kill() throws IOException, RemoteException
- the default implementation of kill() unexports the
NinjaRemoteObject and kills all connectors.
- Overrides:
- kill in class Operator
getProcess
protected Process getProcess()
setProcOutThread
protected void setProcOutThread(Thread t)
exec
public void exec()
- Start any executable - gives a better measure of the end2end
perf at the client
- Overrides:
- exec in class Operator
opBlockSize
public int opBlockSize() throws RemoteException
- Overrides:
- opBlockSize in class Operator
ipBlockSize
public int ipBlockSize() throws RemoteException
- Overrides:
- ipBlockSize in class Operator
run
public void run()
All Packages Class Hierarchy This Package Previous Next Index