public class PauseMonitorAction extends AbstractManagerAction
It is implemented in res/res_monitor.c
Available since Asterisk 1.4.
UnpauseMonitorAction
,
Serialized FormConstructor and Description |
---|
PauseMonitorAction()
Creates a new empty PauseMonitorAction.
|
PauseMonitorAction(String channel)
Creates a new PauseMonitorAction that temporarily stops monitoring 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 temporarily stop monitoring.
|
void |
setChannel(String channel)
Sets the name of the channel to temporarily stop monitoring.
|
getActionId, setActionId, toString
public PauseMonitorAction()
public PauseMonitorAction(String channel)
channel
- the name of the channel to temporarily stop monitoring.public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getChannel()
public void setChannel(String channel)
This property is mandatory.
channel
- the name of the channel to temporarily stop monitoring.Copyright © 2004–2017. All rights reserved.