2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2015-01-04 14:26:32 +00:00
|
|
|
/// A ReloadEvent is triggerd when the reload console command is executed or the asterisk server is started.<br/>
|
|
|
|
/// It is implemented in manager.c
|
2013-01-18 15:55:50 +00:00
|
|
|
/// </summary>
|
|
|
|
public class ReloadEvent : ConnectionStateEvent
|
|
|
|
{
|
|
|
|
private string message;
|
|
|
|
private string module;
|
|
|
|
private string status;
|
|
|
|
|
|
|
|
/// <summary>Reload event status.</summary>
|
|
|
|
public string Status
|
|
|
|
{
|
|
|
|
get { return this.status; }
|
|
|
|
set { this.status = value; }
|
|
|
|
}
|
|
|
|
/// <summary> Returns
|
|
|
|
/// "Manager"
|
|
|
|
/// "Enum"
|
|
|
|
/// "DNSmgr"
|
|
|
|
/// "CDR"
|
|
|
|
/// </summary>
|
|
|
|
public string Module
|
|
|
|
{
|
|
|
|
get { return this.module; }
|
|
|
|
set { this.module = value; }
|
|
|
|
}
|
|
|
|
/// <summary> Returns
|
|
|
|
/// "Reload Requested",
|
|
|
|
/// "ENUM reload Requested",
|
|
|
|
/// "DNSmgr reload Requested",
|
|
|
|
/// "CDR subsystem reload requested"
|
|
|
|
/// .</summary>
|
|
|
|
public string Message
|
|
|
|
{
|
|
|
|
get { return this.message; }
|
|
|
|
set { this.message = value; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public ReloadEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|