namespace AsterNET.Manager.Event { /// /// A HangupEvent is triggered when a channel is hung up.
/// It is implemented in channel.c ///
public class HangupEvent : AbstractChannelEvent { private int cause; private string causeTxt; /// /// Get/Set the cause of the hangup. /// public int Cause { get { return cause; } set { this.cause = value; } } /// /// Get/Set the textual representation of the hangup cause. /// public string CauseTxt { get { return causeTxt; } set { this.causeTxt = value; } } public HangupEvent(ManagerConnection source) : base(source) { } } }