public class SendTextAction extends AbstractManagerAction
It is defined in main/manager.c
.
Available since Asterisk 1.6.0
Constructor and Description |
---|
SendTextAction()
Creates a new empty SendTextAction.
|
SendTextAction(String channel,
String message)
Creates a new SendTextAction that sends the given message to the given channel.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getChannel()
Returns the name of the channel to send the message to.
|
String |
getMessage()
Returns the message to send.
|
void |
setChannel(String channel)
Sets the name of the channel to send the message to.
|
void |
setMessage(String message)
Sets the message to send.
|
getActionId, setActionId, toString
public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getChannel()
public void setChannel(String channel)
channel
- the name of the channel to send the message to.public String getMessage()
public void setMessage(String message)
message
- the message to send.Copyright © 2004–2016. All rights reserved.