asternet/Asterisk.2013/Asterisk.NET/Manager/IResponseHandler.cs

34 lines
646 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
2014-01-08 14:16:39 +00:00
using AsterNET.Manager.Action;
2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager
{
/// <summary>
/// An Interface to handle responses received from an asterisk server.
/// </summary>
/// <seealso cref="ManagerResponse" />
public interface IResponseHandler
{
/// <summary>
/// This method is called when a response is received.
/// </summary>
/// <param name="response">the response received</param>
void HandleResponse(Response.ManagerResponse response);
void Free();
ManagerAction Action
{
get;
}
int Hash
{
get;
set;
}
}
}