org.asteriskjava.pbx.asterisk.wrap.events.ResponseEvents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
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);
}
}