From 61ed4d2afcddbde2d20feae4a070d22912d7b973 Mon Sep 17 00:00:00 2001 From: Rob Maas | Estate Date: Thu, 1 Dec 2016 13:58:15 +0100 Subject: [PATCH] Added Start and Stop methods to IServiceBroker interface --- PushSharp.Core/IServiceBroker.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PushSharp.Core/IServiceBroker.cs b/PushSharp.Core/IServiceBroker.cs index e18b9d60..0aa82a75 100644 --- a/PushSharp.Core/IServiceBroker.cs +++ b/PushSharp.Core/IServiceBroker.cs @@ -12,6 +12,9 @@ public interface IServiceBroker where TNotification : INotificati void RaiseNotificationSucceeded (TNotification notification); void RaiseNotificationFailed (TNotification notification, AggregateException ex); + + void Start(); + void Stop(bool immediately = false); } }