[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/action QueueStatusAction.jav
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-07-15 11:50:53
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10442/src/java/net/sf/asterisk/manager/action Modified Files: QueueStatusAction.java Log Message: Added QueueStatusCompleteEvent Index: QueueStatusAction.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/action/QueueStatusAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- QueueStatusAction.java 23 Feb 2005 22:50:58 -0000 1.2 +++ QueueStatusAction.java 15 Jul 2005 11:50:45 -0000 1.3 @@ -1,51 +1,52 @@ -/* - * Copyright 2004-2005 Stefan Reuter - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -package net.sf.asterisk.manager.action; - -/** - * The QueueStatusAction requests the state of all defined queues their members (agents) and entries - * (callers).<br> - * - * For each queue a QueueParamsEvent is generated, followed by a QueueMemberEvent for each member of - * that queue and a QueueEntryEvent for each entry in the queue.<br> - * - * Note: Currently asterisk does not send a special event to denote the end of the generated dump.<br> - * - * This action is implemented in <code>apps/app_queue.c</code> - * - * @see net.sf.asterisk.manager.event.QueueParamsEvent - * @see net.sf.asterisk.manager.event.QueueMemberEvent - * @see net.sf.asterisk.manager.event.QueueEntryEvent - * - * @author srt - * @version $Id$ - */ -public class QueueStatusAction extends ManagerAction -{ - /** - * Serializable version identifier - */ - private static final long serialVersionUID = -8599401015517232869L; - - /** - * Returns the name of this action, i.e. "QueueStatus". - */ - public String getAction() - { - return "QueueStatus"; - } -} +/* + * Copyright 2004-2005 Stefan Reuter + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +package net.sf.asterisk.manager.action; + +/** + * The QueueStatusAction requests the state of all defined queues their members (agents) and entries + * (callers).<br> + * + * For each queue a QueueParamsEvent is generated, followed by a QueueMemberEvent for each member of + * that queue and a QueueEntryEvent for each entry in the queue.<br> + * + * Since Asterisk 1.2 a QueueStatusCompleteEvent is sent to denote the end of the generated dump.<br> + * + * This action is implemented in <code>apps/app_queue.c</code> + * + * @see net.sf.asterisk.manager.event.QueueParamsEvent + * @see net.sf.asterisk.manager.event.QueueMemberEvent + * @see net.sf.asterisk.manager.event.QueueEntryEvent + * @see net.sf.asterisk.manager.event.QueueStatusCompleteEvent + * + * @author srt + * @version $Id$ + */ +public class QueueStatusAction extends ManagerAction +{ + /** + * Serializable version identifier + */ + private static final long serialVersionUID = -8599401015517232869L; + + /** + * Returns the name of this action, i.e. "QueueStatus". + */ + public String getAction() + { + return "QueueStatus"; + } +} |