|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.ZapDialOffhookAction
public class ZapDialOffhookAction
The ZapDialOffhookAction dials a number on a zap channel while offhook.
Constructor Summary | |
---|---|
ZapDialOffhookAction()
Creates a new empty ZapDialOffhookAction. |
|
ZapDialOffhookAction(java.lang.Integer zapChannel,
java.lang.String number)
Creates a new ZapDialOffhookAction that dials the given number on the given zap channel. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getNumber()
Returns the number to dial. |
java.lang.Integer |
getZapChannel()
Returns the number of the zap channel. |
void |
setNumber(java.lang.String number)
Sets the number to dial. |
void |
setZapChannel(java.lang.Integer channel)
Sets the number of the zap channel. |
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ZapDialOffhookAction()
public ZapDialOffhookAction(java.lang.Integer zapChannel, java.lang.String number)
zapChannel
- the number of the zap channelnumber
- the number to dialMethod Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.Integer getZapChannel()
public void setZapChannel(java.lang.Integer channel)
This property is mandatory.
public java.lang.String getNumber()
public void setNumber(java.lang.String number)
This property is mandatory.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |