|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.fastagi.command.AGICommand
net.sf.asterisk.fastagi.command.TDDModeCommand
public class TDDModeCommand
Enable/Disable TDD transmission/reception on a channel.
Returns 1 if successful, or 0 if channel is not TDD-capable.
| Constructor Summary | |
|---|---|
TDDModeCommand(java.lang.String mode)
Creates a new TDDModeCommand. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getMode()
Returns the mode to set. |
void |
setTimeout(java.lang.String mode)
Sets the mode to set. |
| Methods inherited from class net.sf.asterisk.fastagi.command.AGICommand |
|---|
escapeAndQuote, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TDDModeCommand(java.lang.String mode)
mode - the mode to set, this can be one of "on", "off", "mate" or
"tdd".| Method Detail |
|---|
public java.lang.String getMode()
public void setTimeout(java.lang.String mode)
mode - the mode to set, this can be one of "on", "off", "mate" or
"tdd".public java.lang.String buildCommand()
AGICommand
buildCommand in class AGICommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||