Asterisk-Java

org.asteriskjava.live
Interface AsteriskQueue


public interface AsteriskQueue

An Asterisk ACD queue.

Version:
$Id: AsteriskQueue.java 423 2006-05-29 10:06:11Z srt $
Author:
srt

Method Summary
 java.util.List<AsteriskChannel> getEntries()
          Returns the list of channels currently waiting in this queue.
 java.lang.Integer getMax()
          Returns the maximum number of people waiting in this queue or 0 for unlimited.
 java.lang.String getName()
          Returns the name of this queue as defined in Asterisk's queues.conf.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this queue as defined in Asterisk's queues.conf.

Returns:
the name of this queue.

getMax

java.lang.Integer getMax()
Returns the maximum number of people waiting in this queue or 0 for unlimited.

Corresponds to the maxlen option in Asterisk's queues.conf.

Returns:
the maximum number of people waiting in this queue.

getEntries

java.util.List<AsteriskChannel> getEntries()
Returns the list of channels currently waiting in this queue.

Returns:
the list of channels currently waiting in this queue.

Asterisk-Java

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