All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.manager.event.QueueCallerAbandonEvent Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
/*
 *  Copyright 2004-2007 Stefan Reuter and others
 *
 *  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 org.asteriskjava.manager.event;

/**
 * A QueueCallerAbandonEvent is triggered when a caller abandons a queue before
 * getting connected with an agent.
 * 

* It is implemented in apps/app_queue.c *

* Available since Asterisk 1.4. * * @author martins */ public class QueueCallerAbandonEvent extends QueueEvent { /** * Serializable version identifier */ private static final long serialVersionUID = 812069706662063871L; private Integer position; private Integer originalPosition; private Integer holdTime; private String linkedId; private String language; private String accountcode; /** * @param source */ public QueueCallerAbandonEvent(Object source) { super(source); } /** * @return the amount of time in seconds the caller was on hold */ public Integer getHoldTime() { return holdTime; } /** * @param holdTime the amount of time in seconds the caller was on hold */ public void setHoldTime(Integer holdTime) { this.holdTime = holdTime; } /** * @return the original position of the caller in the queue */ public Integer getOriginalPosition() { return originalPosition; } /** * @param originalPosition the original position of the caller in the queue */ public void setOriginalPosition(Integer originalPosition) { this.originalPosition = originalPosition; } /** * @return the position of the caller at the time they abandoned the queue */ public Integer getPosition() { return position; } /** * @param position the position of the caller at the time they abandoned the * queue */ public void setPosition(Integer position) { this.position = position; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public String getLinkedId() { return linkedId; } public void setLinkedId(String linkedId) { this.linkedId = linkedId; } public String getAccountcode() { return accountcode; } public void setAccountcode(String accountcode) { this.accountcode = accountcode; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy