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

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

The 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 QueueCallerJoinEvent is triggered when a caller join a queue before
 * getting connected with an agent.
 * 

* It is implemented in apps/app_queue.c *

* Available since Asterisk 1.4. * * @author Leonardo de Souza */ public class QueueCallerJoinEvent extends QueueEvent { /** * Serializable version identifier */ private static final long serialVersionUID = 812069706662063872L; private Integer position; private String linkedId; private String language; private String accountcode; /** * @param source */ public QueueCallerJoinEvent(Object source) { super(source); } /** * @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