All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.APCpath.operators.DecodeOperator
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----iceberg.APCpath.operators.Operator
|
+----iceberg.APCpath.operators.DecodeOperator
- public class DecodeOperator
- extends Operator
- implements Runnable
run the LVCSR decoder part of the speech rec. process
(Requires noway, part of the ICSI speech-rec. package)
-
bufferlen
-
-
in
-
-
IN
-
-
myname
-
-
opinput
-
-
opoutput
-
-
out
-
-
OUT
-
-
proc
-
-
procInThread
-
-
procOutThread
-
-
DecodeOperator()
-
-
DecodeOperator(String, String, String)
- Construct a new ProcessOperator.
-
exec()
- Start any executable - gives a better measure of the end2end
perf at the client
-
getCmd()
-
-
getInputType()
- Should return the input type of the operator
-
getOutputType()
- Should return the output type of the operator
-
getProcess()
-
-
ipBlockSize()
- Input comes from MLP - from qnsfwd.
-
kill()
- the default implementation of kill() unexports the
NinjaRemoteObject and kills all connectors.
-
opBlockSize()
- I don't care about this one; my output is text
-
run()
- Thread to read input and pass on to the operator process.
-
setProcOutThread(Thread)
-
-
start(DescrOperator)
- start this operator running.
-
stop()
- stop this operator from running.
-
wakeUp()
-
IN
public static final String IN
OUT
public static final String OUT
myname
public static final String myname
bufferlen
protected static final int bufferlen
opinput
protected StreamConnectorReaderIF opinput
opoutput
protected RMIConnectorWriterIF opoutput
in
protected String in
out
protected String out
proc
protected Process proc
procInThread
protected Thread procInThread
procOutThread
protected Thread procOutThread
DecodeOperator
public DecodeOperator(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).
DecodeOperator
public DecodeOperator() throws RemoteException
getInputType
public String getInputType() throws RemoteException
- Should return the input type of the operator
- Overrides:
- getInputType in class Operator
getOutputType
public String getOutputType() throws RemoteException
- Should return the output type of the operator
- Overrides:
- getOutputType in class Operator
opBlockSize
public int opBlockSize() throws RemoteException
- I don't care about this one; my output is text
- Overrides:
- opBlockSize in class Operator
ipBlockSize
public int ipBlockSize() throws RemoteException
- Input comes from MLP - from qnsfwd.
- Overrides:
- ipBlockSize in class Operator
getCmd
protected 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
run
public void run()
- Thread to read input and pass on to the operator process. It
also starts a second thread to read the operator process output
and send it to the destination through the RMIConnectorWriterIF
All Packages Class Hierarchy This Package Previous Next Index