From 86e7a9c11fe7b05027146ac9fa84e1393f2e4f53 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Mon, 22 Jun 2020 22:25:32 +0200 Subject: [PATCH] Send generated message over socket to endpoint. --- source/tristanable/manager.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/tristanable/manager.d b/source/tristanable/manager.d index 0308af4..78f7c73 100644 --- a/source/tristanable/manager.d +++ b/source/tristanable/manager.d @@ -4,7 +4,7 @@ import tristanable.watcher : Watcher; import tristanable.request : Request; import std.socket : Socket; import core.sync.mutex : Mutex; -import bmessage : sendMessage; +import bmessage : bSendMessage = sendMessage; /* TODO: Watcher class to watch for stuff, and add to manager's queues */ /* TODO: maneger class to use commands on, enqueue and wait for dequeue */ @@ -49,6 +49,7 @@ public final class Manager byte[] messageData; /* Send the message */ + bSendMessage(endpoint, messageData); /* Create a new Request */