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)


Variable Index

 o bufferlen
 o in
 o IN
 o myname
 o opinput
 o opoutput
 o out
 o OUT
 o proc
 o procInThread
 o procOutThread

Constructor Index

 o DecodeOperator()
 o DecodeOperator(String, String, String)
Construct a new ProcessOperator.

Method Index

 o exec()
Start any executable - gives a better measure of the end2end perf at the client
 o getCmd()
 o getInputType()
Should return the input type of the operator
 o getOutputType()
Should return the output type of the operator
 o getProcess()
 o ipBlockSize()
Input comes from MLP - from qnsfwd.
 o kill()
the default implementation of kill() unexports the NinjaRemoteObject and kills all connectors.
 o opBlockSize()
I don't care about this one; my output is text
 o run()
Thread to read input and pass on to the operator process.
 o setProcOutThread(Thread)
 o start(DescrOperator)
start this operator running.
 o stop()
stop this operator from running.
 o wakeUp()

Variables

 o IN
 public static final String IN
 o OUT
 public static final String OUT
 o myname
 public static final String myname
 o bufferlen
 protected static final int bufferlen
 o opinput
 protected StreamConnectorReaderIF opinput
 o opoutput
 protected RMIConnectorWriterIF opoutput
 o in
 protected String in
 o out
 protected String out
 o proc
 protected Process proc
 o procInThread
 protected Thread procInThread
 o procOutThread
 protected Thread procOutThread

Constructors

 o 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).

 o DecodeOperator
 public DecodeOperator() throws RemoteException

Methods

 o getInputType
 public String getInputType() throws RemoteException
Should return the input type of the operator

Overrides:
getInputType in class Operator
 o getOutputType
 public String getOutputType() throws RemoteException
Should return the output type of the operator

Overrides:
getOutputType in class Operator
 o opBlockSize
 public int opBlockSize() throws RemoteException
I don't care about this one; my output is text

Overrides:
opBlockSize in class Operator
 o ipBlockSize
 public int ipBlockSize() throws RemoteException
Input comes from MLP - from qnsfwd.

Overrides:
ipBlockSize in class Operator
 o getCmd
 protected String[] getCmd()
 o start
 public void start(DescrOperator descrop)
start this operator running.

Overrides:
start in class Operator
 o stop
 public void stop()
stop this operator from running.

Overrides:
stop in class Operator
 o wakeUp
 public void wakeUp() throws RemoteException
Overrides:
wakeUp in class Operator
 o kill
 public void kill() throws IOException, RemoteException
the default implementation of kill() unexports the NinjaRemoteObject and kills all connectors.

Overrides:
kill in class Operator
 o getProcess
 protected Process getProcess()
 o setProcOutThread
 protected void setProcOutThread(Thread t)
 o exec
 public void exec()
Start any executable - gives a better measure of the end2end perf at the client

Overrides:
exec in class Operator
 o 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