using AsterNET.Manager.Response;
namespace AsterNET.Manager.Action
{
///
/// The GetConfigAction sends a GetConfig command to the asterisk server.
///
public class GetConfigAction : ManagerActionResponse
{
///
/// Creates a new GetConfigAction.
///
public GetConfigAction()
{
}
///
/// Get the name of this action.
///
/// the configuration filename.
public GetConfigAction(string filename)
{
Filename = filename;
}
///
/// Get the name of this action.
///
public override string Action
{
get { return "GetConfig"; }
}
///
/// Get/Set the configuration filename.
///
public string Filename { get; set; }
public override object ActionCompleteResponseClass()
{
return new GetConfigResponse();
}
}
}