Asterisk-Java

org.asteriskjava.manager.action
Class UnpauseMonitorAction

java.lang.Object
  extended by org.asteriskjava.manager.action.AbstractManagerAction
      extended by org.asteriskjava.manager.action.UnpauseMonitorAction
All Implemented Interfaces:
java.io.Serializable, ManagerAction

public class UnpauseMonitorAction
extends AbstractManagerAction

The PauseMonitorAction re-enables monitoring (recording) of a channel after calling PauseMonitor.

It is implemented in res/res_monitor.c

Available since Asterisk 1.4.

Since:
0.3
Version:
$Id: UnpauseMonitorAction.java 938 2007-12-31 03:23:38Z srt $
Author:
srt
See Also:
PauseMonitorAction, Serialized Form

Constructor Summary
UnpauseMonitorAction()
          Creates a new empty UnpauseMonitorAction.
UnpauseMonitorAction(java.lang.String channel)
          Creates a new UnpauseMonitorAction that re-enables monitoring 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 re-enable monitoring.
 void setChannel(java.lang.String channel)
          Sets the name of the channel to re-enable monitoring.
 
Methods inherited from class org.asteriskjava.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

UnpauseMonitorAction

public UnpauseMonitorAction()
Creates a new empty UnpauseMonitorAction.


UnpauseMonitorAction

public UnpauseMonitorAction(java.lang.String channel)
Creates a new UnpauseMonitorAction that re-enables monitoring the given channel.

Parameters:
channel - the name of the channel re-enable monitoring.
Method Detail

getAction

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

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 re-enable monitoring.

Returns:
the name of the channel to re-enable monitoring.

setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel to re-enable monitoring.

This property is mandatory.

Parameters:
channel - the name of the channel to re-enable monitoring.

Asterisk-Java

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