net.sf.asterisk.manager.action
Class StopMonitorAction

java.lang.Object
  extended by net.sf.asterisk.manager.action.AbstractManagerAction
      extended by net.sf.asterisk.manager.action.StopMonitorAction
All Implemented Interfaces:
java.io.Serializable, ManagerAction

public class StopMonitorAction
extends AbstractManagerAction

The StopMonitorAction ends monitoring (recording) a channel.
It is implemented in res/res_monitor.c

Version:
$Id: StopMonitorAction.java,v 1.5 2005/08/07 16:55:18 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
StopMonitorAction()
          Creates a new empty StopMonitorAction.
StopMonitorAction(java.lang.String channel)
          Creates a new StopMonitorAction that ends monitoring of the given channel.
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 java.lang.String getChannel()
          Returns the name of the channel to end monitoring.
 void setChannel(java.lang.String channel)
          Sets the name of the channel to end monitoring.
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

StopMonitorAction

public StopMonitorAction()
Creates a new empty StopMonitorAction.


StopMonitorAction

public StopMonitorAction(java.lang.String channel)
Creates a new StopMonitorAction that ends monitoring of the given channel.

Parameters:
channel - the name of the channel to stop monitoring.
Since:
0.2
Method Detail

getAction

public java.lang.String getAction()
Returns the name of this action, i.e. "StopMonitor".

Specified by:
getAction in interface ManagerAction
Specified by:
getAction in class AbstractManagerAction
Returns:
the name of this action.

getChannel

public java.lang.String getChannel()
Returns the name of the channel to end monitoring.

Returns:
the name of the channel to end monitoring.

setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel to end monitoring.
This property is mandatory.

Parameters:
channel - the name of the channel to end monitoring.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.