Added missing watcher

This commit is contained in:
Tristan B. Kildaire 2020-10-16 17:11:26 +02:00
parent 2c5d871378
commit 984261a394
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import std.socket : Socket;
import core.sync.mutex : Mutex;
import bmessage : bSendMessage = sendMessage;
import tristanable.queue : Queue;
import tristanable.watcher;
public final class Manager
{
@ -19,6 +20,8 @@ public final class Manager
private Socket socket;
private Watcher watcher;
/**
* Constructs a new Manager with the given
@ -34,6 +37,8 @@ public final class Manager
queuesLock = new Mutex();
/* Initialize the watcher */
watcher = new Watcher(this, socket);
}
public Queue getQueue(ulong tag)