The reference implementation
Go to file
Tristan B. Velloza Kildaire 3107f0a400 Connection
- The `Connection` type is now a kind-of `Thread`
- Added field `associatedServer` of type `Server` such that a connection can be associated with a given server
- Added field `clientSocket` such that a connection can associate the socket with itself
- Constructor sets the two above fields and calls the `Thread` super constructor passing in a function pointer to the worker function (currently a while loop)
- Implemented `Connection newConnection(Server, Socket)` which produces a new `Connection`, then calls `Server.addConnection()` and finally starts the `Connection`'s thread via `start()`, then returns the Connection
2023-03-26 12:04:32 +02:00
.github/workflows Create d.yml 2023-03-26 11:41:59 +02:00
branding Branding 2023-03-01 00:02:13 +02:00
source/renaissance Connection 2023-03-26 12:04:32 +02:00
.gitignore - Updated .gitignore 2023-02-28 23:56:33 +02:00
README.md Update README.md 2023-03-26 11:42:40 +02:00
dub.json - Explicitly state the `mainSourceFile` as `source/renaissance/daemon.d.` 2023-03-26 11:53:05 +02:00

README.md


renaissance

The reference implementation




D