2015-01-03 15:37:29 +00:00
|
|
|
|
namespace AsterNET.Manager.Action
|
2014-01-08 14:16:39 +00:00
|
|
|
|
{
|
|
|
|
|
public class QueueLogAction : ManagerAction
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// Adds custom entry in queue_log.
|
2014-01-08 14:16:39 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
public QueueLogAction()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-01-03 15:37:29 +00:00
|
|
|
|
/// Adds custom entry in queue_log.
|
2014-01-08 14:16:39 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="queue"></param>
|
|
|
|
|
/// <param name="event"></param>
|
|
|
|
|
/// <param name="uniqueid"></param>
|
|
|
|
|
/// <param name="interface"></param>
|
|
|
|
|
/// <param name="message"></param>
|
|
|
|
|
public QueueLogAction(string queue, string @event, string uniqueid, string @interface, string message)
|
|
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
|
Queue = queue;
|
|
|
|
|
Event = @event;
|
|
|
|
|
Uniqueid = uniqueid;
|
|
|
|
|
Interface = @interface;
|
|
|
|
|
Message = message;
|
2014-01-08 14:16:39 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Action
|
|
|
|
|
{
|
|
|
|
|
get { return "QueueLog"; }
|
|
|
|
|
}
|
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Queue { get; set; }
|
2014-01-08 14:16:39 +00:00
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Event { get; set; }
|
2014-01-08 14:16:39 +00:00
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Uniqueid { get; set; }
|
2014-01-08 14:16:39 +00:00
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Interface { get; set; }
|
2014-01-08 14:16:39 +00:00
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Message { get; set; }
|
2014-01-08 14:16:39 +00:00
|
|
|
|
}
|
2015-01-03 15:37:29 +00:00
|
|
|
|
}
|