org.mobicents.media.server.impl.resource.dtmf
Class DetectorFactory
java.lang.Object
org.mobicents.media.server.impl.resource.dtmf.DetectorFactory
- All Implemented Interfaces:
- org.mobicents.media.ComponentFactory
public class DetectorFactory
- extends java.lang.Object
- implements org.mobicents.media.ComponentFactory
- Author:
- amit bhayani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetectorFactory
public DetectorFactory()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDuration
public int getDuration()
- Gets the minum length of detected tone.
- Returns:
- tone duration in milliseconds.
setDuration
public void setDuration(int duration)
- Modify minim duration of detected tone.
- Parameters:
duration - the duration of the tone in milliseconds
setLasy
public void setLasy(boolean isLazy)
getInterdigitInterval
public int getInterdigitInterval()
setInterdigitInterval
public void setInterdigitInterval(int interdigitInterval)
newInstance
public org.mobicents.media.Component newInstance(org.mobicents.media.server.spi.Endpoint endpoint)
throws org.mobicents.media.server.spi.ResourceUnavailableException
- Specified by:
newInstance in interface org.mobicents.media.ComponentFactory
- Throws:
org.mobicents.media.server.spi.ResourceUnavailableException
Copyright © 2010. All Rights Reserved.