net.sf.asterisk.manager.action
Class QueueRemoveAction

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

public class QueueRemoveAction
extends AbstractManagerAction

The QueueRemoveAction removes a member from a queue.
It is implemented in apps/app_queue.c

Version:
$Id: QueueRemoveAction.java,v 1.5 2005/08/07 16:43:29 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
QueueRemoveAction()
          Creates a new empty QueueRemoveAction.
QueueRemoveAction(java.lang.String queue, java.lang.String iface)
          Creates a new QueueRemoveAction that removes the member on the given interface from the given queue.
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 java.lang.String getInterface()
          Returns the interface to remove.
 java.lang.String getQueue()
          Returns the name of the queue the member will be removed from.
 void setInterface(java.lang.String iface)
          Sets the interface to remove.
This property is mandatory.
 void setQueue(java.lang.String queue)
          Sets the name of the queue the member will be removed from.
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

QueueRemoveAction

public QueueRemoveAction()
Creates a new empty QueueRemoveAction.


QueueRemoveAction

public QueueRemoveAction(java.lang.String queue,
                         java.lang.String iface)
Creates a new QueueRemoveAction that removes the member on the given interface from the given queue.

Parameters:
queue - the name of the queue the member will be removed from
iface - the interface of the member to remove
Since:
0.2
Method Detail

getAction

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

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

getQueue

public java.lang.String getQueue()
Returns the name of the queue the member will be removed from.

Returns:
the name of the queue the member will be removed from.

setQueue

public void setQueue(java.lang.String queue)
Sets the name of the queue the member will be removed from.
This property is mandatory.

Parameters:
queue - the name of the queue the member will be removed from.

getInterface

public java.lang.String getInterface()
Returns the interface to remove.


setInterface

public void setInterface(java.lang.String iface)
Sets the interface to remove.
This property is mandatory.



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