Commit Graph

111 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 3baa19f449 Server
- Removed any reference to the old `ConsumerInterface` interface
2023-03-26 11:47:33 +02:00
Tristan B. Velloza Kildaire 234e4e0c14 Listener/ConsumerInterface- Upgraded `davinci` from `0.0.1` to `0.0.2` 2023-03-26 11:45:50 +02:00
Tristan B. Velloza Kildaire 818b3a6e23 Server
- Added a queue of `Listener`(s) and a corresponding lock
- Added a queue of `Connection`(s) and a corresponding lock
- Initialize all queue locks in the constructor
- Added `addListener(Listener)` for adding a new listener; will throw an exception if already added
- `Server` now implements `ConnectionConsumer` and implements an `addConnection(Connection)` method which consumes the provided `Connection` and adds it to the connection queue
2023-03-25 16:48:08 +02:00
Tristan B. Velloza Kildaire 6961e0960f Errors
- Added new module `errors`
- Added new type `ErrorType` with enum member `LISTENER_ALREADY_ADDED`

Exceptions (package)

- Publically import `errors` (only `ErrorType`) and `RenaissanceException` from `types`

Types

- Added `RenaissanceException` type as the base exception class for the server code
2023-03-25 16:29:22 +02:00
Tristan B. Velloza Kildaire 00b683a558 ConnectionConsumer
- Added new type which represents any class that can "consume" (or add) a new `Connection` object

Listener

- Updated to now use the `ConnectionConsumer` interface type rather than `Server` directly

Listener (package)

- The package now imports (publically) `consumer` and `listener` modules
2023-03-25 16:27:52 +02:00
Tristan B. Velloza Kildaire 513bf38a82 Connection
- Added type `Connection`

Connection (package)

- Added package `renaissance.connection` which publically imports `renaissance.connection.connection`'s `Connection` type
2023-03-25 16:26:30 +02:00
Tristan B. Velloza Kildaire 0ac4392a25 Package (server)
- Added package `renaissance.server`
2023-03-25 15:37:25 +02:00
Tristan B. Velloza Kildaire 6151e5b477 Listener
- Added type `Listener` which takes in an instance of `Server` to associate with
2023-03-25 15:37:05 +02:00
Tristan B. Velloza Kildaire 21f170a999 Server
- Added type `Server` which represents an instance of the daemon
2023-03-25 15:37:01 +02:00
Tristan B. Velloza Kildaire e708c20e81 - Renamed module `app` to `daemon` 2023-03-25 15:36:10 +02:00
Tristan B. Velloza Kildaire fba3486763 Branding
- Addex exported single logo as `branding/logo_single.png`

Documentation

- Added a README with the logo, title and tagline

App

- Restructured into a module name `renaissance`
2023-03-01 00:02:13 +02:00