public abstract class AbstractAgiCommand extends Object implements Serializable, AgiCommand
AgiCommand classes.| Constructor and Description |
|---|
AbstractAgiCommand() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
protected String |
escapeAndQuote(String string)
Escapes and quotes a given string according to the rules set by Asterisk's AGI.
|
protected String |
escapeAndQuote(String[] strings)
Escapes and quotes a given strings according to the rules set by Asterisk's AGI.
|
void |
setAsteriskVersion(AsteriskVersion asteriskVersion) |
String |
toString() |
public void setAsteriskVersion(AsteriskVersion asteriskVersion)
setAsteriskVersion in interface AgiCommandpublic abstract String buildCommand()
AgiCommandbuildCommand in interface AgiCommandprotected String escapeAndQuote(String string)
string - the string to escape and quoteCopyright © 2004–2024. All rights reserved.