|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.dtmf.DtmfBuffer
public class DtmfBuffer
Implements digit buffer.
| Field Summary | |
|---|---|
int |
interdigitInterval
|
| Constructor Summary | |
|---|---|
DtmfBuffer(DetectorImpl detector)
Constructs new instance of this buffer. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears buffer content |
void |
flush()
Flushes the buffer content. |
int |
getInterdigitInterval()
Gets the current inter digit interval |
void |
push(String symbol)
Handles inter digit intervals. |
protected void |
queue(DtmfEventImpl evt)
Queues specified event. |
void |
setInterdigitInterval(int silence)
Modifies the inter digit interval. |
void |
updateTime()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int interdigitInterval
| Constructor Detail |
|---|
public DtmfBuffer(DetectorImpl detector)
detector - tone detector| Method Detail |
|---|
public void setInterdigitInterval(int silence)
silence - the interval measured in millisecondspublic int getInterdigitInterval()
public void push(String symbol)
symbol - received digit.public void updateTime()
protected void queue(DtmfEventImpl evt)
evt - the event to be queued.public void flush()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||