public class PauseMonitorAction extends AbstractManagerAction
It is implemented in res/res_monitor.c
Available since Asterisk 1.4.
UnpauseMonitorAction,
Serialized Form| Constructor 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, toStringpublic PauseMonitorAction()
public PauseMonitorAction(String channel)
channel - the name of the channel to temporarily stop monitoring.public String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic String getChannel()
public void setChannel(String channel)
This property is mandatory.
channel - the name of the channel to temporarily stop monitoring.Copyright © 2004–2024. All rights reserved.