All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.APCpath.operators.Festival

java.lang.Object
   |
   +----ninja.rmi.NinjaRemoteObject
           |
           +----iceberg.APCpath.operators.Operator
                   |
                   +----iceberg.APCpath.operators.Festival

public class Festival
extends Operator
implements Runnable

Variable Index

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

Constructor Index

 o Festival()
 o Festival(String, String, String)

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()
I don't care.
 o kill()
the default implementation of kill() unexports the NinjaRemoteObject and kills all connectors.
 o opBlockSize()
Does'nt really matter since au wont be send as RTP data anyway.
 o run()
 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 RMIConnectorReaderIF opinput
 o opoutput
 protected StreamConnectorWriterIF opoutput
 o procinput
 protected InputStream procinput
 o procoutput
 protected OutputStream procoutput
 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 Festival
 public Festival(String myname,
                 String in,
                 String out) throws RemoteException
 o Festival
 public Festival() 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
Does'nt really matter since au wont be send as RTP data anyway. 640 is the data for 20 ms.

Overrides:
opBlockSize in class Operator
 o ipBlockSize
 public int ipBlockSize() throws RemoteException
I don't care. My input is text using an RMIConnectorReaderIF

Overrides:
ipBlockSize in class Operator
 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 getCmd
 protected String[] getCmd()
 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()

All Packages  Class Hierarchy  This Package  Previous  Next  Index