1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Add listener array to server

This commit is contained in:
Tristan B. Kildaire 2020-11-03 10:56:58 +02:00
parent 727d42fa67
commit cc95b8e2e9

View File

@ -20,6 +20,7 @@ import std.stdio;
import std.conv : to;
import dnetd.dconfig;
import dnetd.dlink;
import dnetd.dlistener;
import gogga;
public class DServer : Thread
@ -51,6 +52,11 @@ public class DServer : Thread
*/
private DMeyer meyerSS;
/**
* The listeners attached to this server
*/
private DListener[] listeners;
/* TODO: Implement new constructor */
this(DConfig config)
{