Commit Graph

27 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 8040bde4e9 Dub
- Added `niknaks` dependency

Client (unittests)

- Use `dumpArray`
2023-11-10 18:24:11 +02:00
Tristan B. Velloza Kildaire 3479d380c3 Client
- Added authentication command support
- Added channel enumeration support
- Added some helper methods for the channel enumeration support

Client (unittests)

- Added unittests for the above
2023-11-10 15:26:03 +02:00
Tristan B. Velloza Kildaire e410dbf8e1 Client
- Fixed `makeRequest(...)` runtime issue
2023-11-09 23:03:48 +02:00
Tristan B. Velloza Kildaire 88b36b5e1e Client
- Fixed typo
2023-10-02 22:27:54 +02:00
Tristan B. Velloza Kildaire 7b10478a36 Client
- `makeRequest(BaseMessage request, Queue responseQueue, bool releaseAfterUse = false)` now will only deregister the queue if requested
- `makeRequest(BaseMessage request)` now requests queuew deregistration
2023-10-02 22:22:50 +02:00
Tristan B. Velloza Kildaire d6d9b40d41 Client
- We nwo release the queue passed to `makeRequest(BaseMessage request, Queue responseQueue)`
2023-10-02 22:20:23 +02:00
Tristan B. Velloza Kildaire d0c0c4a7ed Client
- Use the queue-registration-less `makeRequest(BaseMessage)` in `nopRequest()`
2023-10-02 22:04:42 +02:00
Tristan B. Velloza Kildaire 9406422a92 Client
- Added a note about resource-leak easily fixable
2023-10-02 22:04:04 +02:00
Tristan B. Velloza Kildaire 3c0d82fd85 Client
- Compilation error fix
2023-10-02 22:03:05 +02:00
Tristan B. Velloza Kildaire c3b90192e6 Client
- Added `makeRequest(BaseMessage request)`
2023-10-02 22:02:44 +02:00
Tristan B. Velloza Kildaire 5704397b74 Client
- Removed duplicate semicolons
2023-10-02 22:00:18 +02:00
Tristan B. Velloza Kildaire dd12a719d5 Client
- Removed now-completed TODOs
2023-10-02 21:59:50 +02:00
Tristan B. Velloza Kildaire 113e793111 Client
- Added `makeRequest(BaseMessage request, Queue responseQueue)`
2023-10-02 21:59:12 +02:00
Tristan B. Velloza Kildaire aa2a0e3107 Client
- Testing out setting of fields with `nopRequest()`

Dub

- Update `davinci`
2023-10-02 21:47:03 +02:00
Tristan B. Velloza Kildaire 0df1de7b60 Client
- Upgraded to `NopMessage` naming

Dub

- Updated `davinci`
2023-10-02 20:43:16 +02:00
Tristan B. Velloza Kildaire 177c8081e4 Client
- Attack and start a `Sequential` provider to the `Executor` in constructor
- Added `stop()` method which stops the tristanable manager and the provider associated with the executor

Client (unit tests)

- Hoist result from future
- Stop client at end
- Removed while loop
2023-10-01 22:43:22 +02:00
Tristan B. Velloza Kildaire d0e920c347 Client
- `nopRequest()` now returns a future

Client (unittests)

- Added a test using `nopRequest()` (doesn't do much now as server never replies)
2023-10-01 22:24:39 +02:00
Tristan B. Velloza Kildaire 00646cb9ee Client
- `nopRequest()` now registers a tristanable queue, then creates a delegate which sends the message and waits on said queue, we submit this delegate to the guillotine executor
2023-10-01 21:49:06 +02:00
Tristan B. Velloza Kildaire d6ea346887 Nop
- Removed

Client

- Encode within the `nopRequest()` method
2023-10-01 21:20:38 +02:00
Tristan B. Velloza Kildaire 61760a0719 Client
- Switched to guillotine
2023-10-01 21:19:16 +02:00
Tristan B. Velloza Kildaire b7f90122dd Nop
- Added a new message type `Nop`

Client

- Added a `nopRequest()` to generate a `NopRequest` for testing
2023-05-04 15:46:26 +02:00
Tristan B. Velloza Kildaire 27a0404b84 - Added a debug system 2023-05-04 15:12:27 +02:00
Tristan B. Velloza Kildaire 4e5781a020 DanteClient
- Removed testing code
2023-05-04 15:08:53 +02:00
Tristan B. Velloza Kildaire e2382bfaef DanteClient
- Documented fields `manager` and `engine`
- Upon construction construct a new tasky `Engine` based on the created tristanable `Manager`
2023-05-04 14:54:59 +02:00
Tristan B. Velloza Kildaire 34c91c2e01 DanteClient
- Added a few TODOs
- Instantiate a tristanable `Manager` upon construction
- Implemented `start()` which starts the `manager`
2023-05-03 17:56:43 +02:00
Tristan B. Velloza Kildaire ca2f0c12ac DanteClient
- Added a constructor which consumes a river-based `Stream`
- Added a constructor which takes in an `Address` and opens a `Socket` to it, connects and then passes it wrapped in a river-based `SockStream` to the `Stream`-based cinstructor
- Added a constructor which takes in `(string domain, ushort port)`, which resolves the domain then passes said address to the `Address`-based constructor (ditto from here)
2023-05-03 15:30:19 +02:00
Tristan B. Velloza Kildaire b0cbade79b - Added `DanteClient` in module `client` to represent a client 2023-05-03 14:57:17 +02:00