|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.manager.action.AbstractManagerAction
net.sf.asterisk.manager.action.ChangeMonitorAction
public class ChangeMonitorAction
The ChangeMonitorAction changes the monitoring filename of a channel. It has
no effect if the channel is not monitored.
It is implemented in res/res_monitor.c
| Constructor Summary | |
|---|---|
ChangeMonitorAction()
Creates a new empty ChangeMonitorAction. |
|
ChangeMonitorAction(java.lang.String channel,
java.lang.String file)
Creates a new ChangeMonitorAction that causes monitoring data for the given channel to be written to the given file(s). |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getChannel()
Returns the name of the monitored channel. |
java.lang.String |
getFile()
Returns the name of the file to which the voice data is written. |
void |
setChannel(java.lang.String channel)
Sets the name of the monitored channel. This property is mandatory. |
void |
setFile(java.lang.String file)
Sets the (base) name of the file(s) to which the voice data is written. This property is mandatory. |
| Methods inherited from class net.sf.asterisk.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 ChangeMonitorAction()
public ChangeMonitorAction(java.lang.String channel,
java.lang.String file)
channel - the name of the channel that is monitoredfile - the (base) name of the file(s) to which the voice data is
written| Method Detail |
|---|
public java.lang.String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.String getFile()
public void setFile(java.lang.String file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||