
org.asteriskjava.manager.event.FullyBootedEvent Maven / Gradle / Ivy
package org.asteriskjava.manager.event;
/**
* Indicates that Asterisk has loaded all its modules and finished booting.
* It is handy to have a single event notification for when all Asterisk
* modules have been loaded - especially for situations like running
* automated tests. This event will fire 1) immediately upon all modules
* loading or 2) upon connection to the AMI interface if the modules have
* already finished loading before the connection was made. This ensures
* that a user will never miss getting a FullyBooted event. In vary rare
* circumstances, it might be possible to get two copies of the message
* if the AMI connection is made right as the modules finish loading.
*
* It is implemented in main/asterisk.c
and manager.c
.
* Available since Asterisk 1.8
*/
public class FullyBootedEvent extends ManagerEvent {
private static final long serialVersionUID = 3278450617682299834L;
private String status;
public FullyBootedEvent(Object source) {
super(source);
}
/**
* Returns the status. Currently this is always "Fully Booted".
*
* @return the status.
*/
public String getStatus() {
return status;
}
/**
* Sets the status.
*
* @param status
* the status.
*/
public void setStatus(String status) {
this.status = status;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy