using System.IO;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Xml.Linq;
using System;
using WindowsPhone.Recipes.Push.Server.Models;
namespace WindowsPhone.Recipes.Push.Server.Services
{
///
/// Push server services.
///
[ServiceContract]
public interface IPushService
{
///
/// Register user name with a push channel uri.
///
/// User name.
/// Push notification channel uri.
[OperationContract]
void Register(string userName, Uri channelUri);
///
/// Get current server information/status.
///
/// Current server status.
[OperationContract]
ServerInfo GetServerInfo();
///
/// Send a tile update with given parameter.
///
/// User parameter to send with the tile update request.
[OperationContract]
void UpdateTile(Uri channelUri, string parameter);
}
}