package org.asteriskjava.manager.event;

/**
 * Indicates that Asterisk has loaded all its modules and finished booting.<br>
 * 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.
 * <br>
 * It is implemented in <code>main/asterisk.c</code> and <code>manager.c</code>.<br>
 * Available since Asterisk 1.8
 */
public class FullyBootedEvent extends ManagerEvent
{
    private static final long serialVersionUID = 0L;
    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;
    }
}

@@ -956,16 +956,75 @@
  status;
+%0A    private String lastreload;%0A    private Integer uptime;
 %0A%0A    pu
@@ -1442,11 +1442,273 @@
 s;%0A    %7D
+%0A%0A%09public String getLastreload() %7B%0A%09%09return lastreload;%0A%09%7D%0A%0A%09public void setLastreload(String lastreload) %7B%0A%09%09this.lastreload = lastreload;%0A%09%7D%0A%0A%09public Integer getUptime() %7B%0A%09%09return uptime;%0A%09%7D%0A%0A%09public void setUptime(Integer uptime) %7B%0A%09%09this.uptime = uptime;%0A%09%7D
 %0A%7D%0A

fix issue #186