namespace Asterisk.NET.Manager.Event
{
///
/// Abstract base class for events triggered in response to a ManagerAction.
/// All ResponseEvents contain an additional action id property that links the
/// event to the action that caused it.
///
public abstract class ResponseEvent : ManagerEvent
{
private string actionId;
private string internalActionId;
///
/// Get/Set the action id of the ManagerAction that caused this event.
///
public string ActionId
{
get { return actionId; }
set { this.actionId = value; }
}
///
/// Get/Set the internal action id of the ManagerAction that caused this event.
///
public string InternalActionId
{
get { return internalActionId; }
set { this.internalActionId = value; }
}
public ResponseEvent(ManagerConnection source)
: base(source)
{
}
}
}