Asterisk-Java

org.asteriskjava.manager.action
Class QueueRemoveAction

java.lang.Object
  extended by org.asteriskjava.manager.action.AbstractManagerAction
      extended by org.asteriskjava.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 938 2007-12-31 03:23:38Z srt $
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.
 void setQueue(java.lang.String queue)
          Sets the name of the queue the member will be removed from.
 
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

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.


Asterisk-Java

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