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

org.asteriskjava.pbx.asterisk.wrap.events.ResponseEvents Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.events;

import java.util.ArrayList;
import java.util.Collection;

public class ResponseEvents {

    ArrayList events = new ArrayList<>();

    /**
     * Returns a Collection of ManagerEvents that have been received including
     * the last one that indicates completion.
     *
     * @return a Collection of ManagerEvents received.
     */
    public Collection getEvents() {
        return this.events;
    }

    public void add(ResponseEvent event) {
        this.events.add(event);

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy