26 lines
535 B
C#
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()
|
|
{
|
|
}
|
|
}
|
|
} |