using System.Threading.Tasks;
using Orleans;

namespace UnitTests.GrainInterfaces
{
    [Factory(FactoryAttribute.FactoryTypes.ClientObject)]
    public interface IClientAddressableTestClientObject : IGrainWithIntegerKey
    {
        Task<string> OnHappyPath(string message);
        Task OnSadPath(string message);
        Task<int> OnSerialStress(int n);
        Task<int> OnParallelStress(int n);
    }
}
