2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
2014-01-08 14:16:39 +00:00
|
|
|
using AsterNET.Manager.Action;
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
/// <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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|