public class ChangeMonitorAction extends AbstractManagerAction
It is implemented in res/res_monitor.c
Constructor and Description |
---|
ChangeMonitorAction()
Creates a new empty ChangeMonitorAction.
|
ChangeMonitorAction(String channel,
String file)
Creates a new ChangeMonitorAction that causes monitoring data for the
given channel to be written to the given file(s).
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getChannel()
Returns the name of the monitored channel.
|
String |
getFile()
Returns the name of the file to which the voice data is written.
|
void |
setChannel(String channel)
Sets the name of the monitored channel.
|
void |
setFile(String file)
Sets the (base) name of the file(s) to which the voice data is written.
|
getActionId, setActionId, toString
public ChangeMonitorAction()
public ChangeMonitorAction(String channel, String file)
channel
- the name of the channel that is monitoredfile
- the (base) name of the file(s) to which the voice data is
writtenpublic String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getChannel()
public void setChannel(String channel)
This property is mandatory.
public String getFile()
public void setFile(String file)
This property is mandatory.
Copyright © 2004–2017. All rights reserved.