2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A DBGetResponseEvent is sent in response to a DBGetAction and contains the entry that was queried.<br />
|
|
|
|
/// Available since Asterisk 1.2
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="Manager.Action.DBGetAction" />
|
|
|
|
public class DBGetResponseEvent : ResponseEvent
|
|
|
|
{
|
|
|
|
public DBGetResponseEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the family of the database entry that was queried.
|
|
|
|
/// </summary>
|
|
|
|
public string Family { get; set; }
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the key of the database entry that was queried.
|
|
|
|
/// </summary>
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the value of the database entry that was queried.
|
|
|
|
/// </summary>
|
|
|
|
public string Val { get; set; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|