|
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.AtxferAction
public class AtxferAction
Starts an attended transfer. This action seems to be a bit of a hack. See http://bugs.digium.com/view.php?id=12158 for details.
Available since Asterisk 1.6
Constructor Summary | |
---|---|
AtxferAction()
Creates a new empty AtxferAction. |
|
AtxferAction(java.lang.String channel,
java.lang.String context,
java.lang.String exten,
java.lang.Integer priority)
Creates a new AtxferAction that initiates an attended transfer of the given channel to the given context, extension, priority triple. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getChannel()
Returns name of the channel to transfer. |
java.lang.String |
getContext()
Returns the destination context. |
java.lang.String |
getExten()
Returns the destination extension. |
java.lang.Integer |
getPriority()
Returns the destination priority. |
void |
setChannel(java.lang.String channel)
Sets name of the channel to transfer. |
void |
setContext(java.lang.String context)
Sets the destination context. |
void |
setExten(java.lang.String exten)
Sets the destination extension. |
void |
setPriority(java.lang.Integer priority)
Sets the destination priority. |
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 AtxferAction()
public AtxferAction(java.lang.String channel, java.lang.String context, java.lang.String exten, java.lang.Integer priority)
channel
- the name of the channel to transfercontext
- the destination contextexten
- the destination extensionpriority
- the destination priorityMethod Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel
- the name of the channel to transferpublic java.lang.String getContext()
public void setContext(java.lang.String context)
context
- the destination contextpublic java.lang.String getExten()
public void setExten(java.lang.String exten)
exten
- the destination extensionpublic java.lang.Integer getPriority()
public void setPriority(java.lang.Integer priority)
priority
- the destination priority
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |