asternet/Asterisk.2013/Asterisk.NET/Manager/Action/PingAction.cs

26 lines
535 B
C#

using System;
namespace Asterisk.NET.Manager.Action
{
/// <summary>
/// The PingAction will ellicit a 'Pong' response, it is used to keep the manager
/// connection open and performs no operation.
/// </summary>
public class PingAction : ManagerAction
{
/// <summary>
/// Get the name of this action, i.e. "Ping".
/// </summary>
override public string Action
{
get { return "Ping"; }
}
/// <summary>
/// Creates a new PingAction.
/// </summary>
public PingAction()
{
}
}
}