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

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

There is a newer version: 3.41.0
Show 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