Commit Graph

7 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 17ccf9a4db Daemon
- When running (for now) listen on `/tmp/renaissance.sock`
2023-10-01 22:23:50 +02:00
Tristan B. Velloza Kildaire 5062e4fcb7 Logging
- Moved logging global data static init to `renaissance.logging` module

Daemon

- Removed logging code from here

Connection

- Fixed logging import

Stream

- Fixed logging import

Server

- Fixed logging import
2023-05-03 14:16:48 +02:00
Tristan B. Velloza Kildaire 13f8a33e0b Daemon
- Start the server

Connection

- Added a TODO

Stream

- Added a TODO

Package (`listeners`)

- Publically import the `StreamListener` listener

Server

- Added a field `isRunning` which is set to `true` when `start()` is called and `false` when `stop()` is called
- Added a private method, `stopListeners()`, which locksd the listener queue, then proceeds to call `stopListener()` on each `Listener` object in the queue, then ends by unlocking the listener queue lock
2023-05-01 19:22:59 +02:00
Tristan B. Velloza Kildaire bc3725e6b0 Daemon
- Disabled config code for now in preference to manually creating a `Server` instance and a `Listener` instance to go along with it
2023-05-01 16:42:05 +02:00
Tristan B. Velloza Kildaire c85a6a1fca Connection
- Print out the message we are handling in `handle()`

Daemon

- Added some testing, but broken, config reading code
- Enabled debugging in the logger

Stream

- Added a `STREAM`-based listener which produces `SockStream`-based `Connection` objects
2023-05-01 16:11:28 +02:00
Tristan B. Velloza Kildaire 27d53b9878 Daemon
- Log on startup

Connection

- Added an instance of tristanable's `Manager` than gets created upon `Connection` construction
2023-04-30 20:57:57 +02:00
Tristan B. Velloza Kildaire e708c20e81 - Renamed module `app` to `daemon` 2023-03-25 15:36:10 +02:00