|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.orderlysoftware.orderlycalls.base.Settings com.orderlysoftware.orderlycalls.asterisk.agi.AGISettings
public class AGISettings
This class encapsulates settings necessary to run an AGIServer
.
Nested Class Summary | |
---|---|
class |
AGISettings.BindSettings
This class encapsulates settings necessary to bind a single AGIServer to a single interface and port. |
Constructor Summary | |
---|---|
AGISettings()
|
Method Summary | |
---|---|
void |
addBinding(AGISettings.BindSettings bs)
Adds a new host:port binding to this server. |
java.util.ArrayList |
getBindings()
|
java.lang.Class |
getProcessorClass()
Returns the class of AGIProcessor to be used |
void |
setBindings(java.util.ArrayList bindings)
|
void |
setProcessorClass(java.lang.Class processorClass)
Sets the class of AGIProcessor to be used. |
boolean |
setXMLSettings(org.w3c.dom.Element xmlSettings)
Parses input XML to set all properties. |
java.lang.String |
toString()
Convenience method. |
Methods inherited from class com.orderlysoftware.orderlycalls.base.Settings |
---|
equals, getName, getXMLSettings, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AGISettings()
Method Detail |
---|
public void addBinding(AGISettings.BindSettings bs)
bs
- The binding to add.public boolean setXMLSettings(org.w3c.dom.Element xmlSettings)
setXMLSettings
in class Settings
public java.util.ArrayList getBindings()
public void setBindings(java.util.ArrayList bindings)
bindSettings
- The bindSettings to set.public java.lang.Class getProcessorClass()
public void setProcessorClass(java.lang.Class processorClass)
public java.lang.String toString()
toString
in class Settings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |