namespace AsterNET.Manager.Event
{
///
/// A ReloadEvent is triggerd when the reload
console command is executed or the asterisk server is started.
/// It is implemented in manager.c
///
public class ReloadEvent : ConnectionStateEvent
{
private string message;
private string module;
private string status;
/// Reload event status.
public string Status
{
get { return this.status; }
set { this.status = value; }
}
/// Returns
/// "Manager"
/// "Enum"
/// "DNSmgr"
/// "CDR"
///
public string Module
{
get { return this.module; }
set { this.module = value; }
}
/// Returns
/// "Reload Requested",
/// "ENUM reload Requested",
/// "DNSmgr reload Requested",
/// "CDR subsystem reload requested"
/// .
public string Message
{
get { return this.message; }
set { this.message = value; }
}
public ReloadEvent(ManagerConnection source)
: base(source)
{
}
}
}