public class GeneratorImpl extends AbstractSource implements DtmfGenerator, PooledObject
| Modifier and Type | Field and Description |
|---|---|
static String[][] |
events |
duration, mediaSink| Constructor and Description |
|---|
GeneratorImpl(String name,
org.mobicents.media.server.scheduler.PriorityQueueScheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addListener(DtmfGeneratorListener listener) |
void |
checkIn() |
void |
checkOut() |
void |
clearAllListeners() |
void |
completed() |
void |
deactivate() |
Frame |
evolve(long timestamp) |
AudioInput |
getAudioInput() |
String |
getDigit() |
Formats |
getNativeFormats() |
String |
getOOBDigit() |
OOBInput |
getOOBInput() |
int |
getToneDuration() |
int |
getVolume() |
void |
removeListener(DtmfGeneratorListener listener) |
void |
setDigit(String digit) |
void |
setOOBDigit(String digit) |
void |
setToneDuration(int duration) |
void |
setVolume(int volume) |
void |
wakeup() |
connect, disconnect, failed, getBytesTransmitted, getDuration, getMediaTime, getPacketsTransmitted, isConnected, isStarted, report, reset, setDuration, setInitialDelay, setMediaTime, start, started, stop, stoppedgetId, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstart, stopgetBytesTransmitted, getDuration, getMediaTime, getPacketsTransmitted, isConnected, isStarted, setDuration, setInitialDelay, setMediaTimepublic static final String[][] events
public GeneratorImpl(String name, org.mobicents.media.server.scheduler.PriorityQueueScheduler scheduler)
public void addListener(DtmfGeneratorListener listener)
addListener in interface DtmfGeneratorpublic void removeListener(DtmfGeneratorListener listener)
removeListener in interface DtmfGeneratorpublic void clearAllListeners()
clearAllListeners in interface DtmfGeneratorpublic AudioInput getAudioInput()
public OOBInput getOOBInput()
public void activate()
activate in interface Componentactivate in class AbstractSourcepublic void setOOBDigit(String digit)
setOOBDigit in interface DtmfGeneratorpublic void setDigit(String digit)
setDigit in interface DtmfGeneratorpublic void completed()
completed in class AbstractSourcepublic String getDigit()
getDigit in interface DtmfGeneratorpublic String getOOBDigit()
getOOBDigit in interface DtmfGeneratorpublic void setToneDuration(int duration)
setToneDuration in interface DtmfGeneratorpublic int getToneDuration()
getToneDuration in interface DtmfGeneratorpublic int getVolume()
getVolume in interface DtmfGeneratorpublic void setVolume(int volume)
setVolume in interface DtmfGeneratorpublic Formats getNativeFormats()
public Frame evolve(long timestamp)
evolve in class AbstractSourcepublic void deactivate()
deactivate in interface Componentdeactivate in class AbstractSourcepublic void wakeup()
wakeup in class AbstractSourcepublic void checkIn()
checkIn in interface PooledObjectpublic void checkOut()
checkOut in interface PooledObjectCopyright © 2017 TeleStax, Inc.. All Rights Reserved.