org.mobicents.media.server.component
Class DspFactoryImpl

java.lang.Object
  extended by org.mobicents.media.server.component.DspFactoryImpl
All Implemented Interfaces:
DspFactory

public class DspFactoryImpl
extends Object
implements DspFactory

Defines configuration of the DSP and constructs new DSP.

Author:
kulikov

Constructor Summary
DspFactoryImpl()
           
 
Method Summary
 void addCodec(String fqn)
          Registers codec.
 Dsp newProcessor()
          Creates new DSP.
 void remove(String fqn)
          Unregisters codec.
 void setCodecs(List<String> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DspFactoryImpl

public DspFactoryImpl()
Method Detail

addCodec

public void addCodec(String fqn)
Registers codec.

Parameters:
fqn - the fully qualified name of codec class.

remove

public void remove(String fqn)
Unregisters codec.

Parameters:
fqn - the fully qualified name of the codec class.

newProcessor

public Dsp newProcessor()
                 throws InstantiationException,
                        ClassNotFoundException,
                        IllegalAccessException
Creates new DSP.

Specified by:
newProcessor in interface DspFactory
Returns:
DSP instance.
Throws:
InstantiationException
ClassNotFoundException
IllegalAccessException

setCodecs

public void setCodecs(List<String> list)
Specified by:
setCodecs in interface DspFactory


Copyright © 2011. All Rights Reserved.