Added full chain of P&L notifications

This commit is contained in:
Falkvinge
2017-05-16 08:13:16 +02:00
parent c61bff3866
commit cc40100824
7 changed files with 204 additions and 18 deletions
@@ -4,6 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Swarmops.Logic;
using Swarmops.Logic.Security;
using WebSocketSharp;
using WebSocketSharp.Server;
@@ -38,6 +39,9 @@ namespace Swarmops.Backend.SocketServices
case "AddBitcoinAddress":
BackendLoop.AddBitcoinAddress((string) json["Address"]);
break;
case "Metapackage":
BackendLoop.ProcessMetapackage(SocketMessage.FromXml((string) json["XmlData"]));
break;
default:
// do nothing;
break;