public class DtmfBuffer extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
interdigitInterval |
| Constructor and Description |
|---|
DtmfBuffer(DetectorImpl detector)
Constructs new instance of this buffer.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public DtmfBuffer(DetectorImpl detector)
detector - tone detectorpublic 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()
Copyright © 2016 TeleStax, Inc.. All Rights Reserved.