Lars Simon Winzer
|
d51f080bad
|
Merge branch 'feat/use-parser-dispatcher-in-reader' into 'main'
Made SessionReader invoke parsing of request with CommandParserDispatcher uppon recieving request
Closes #13
See merge request cs108-fs26/Gruppe-13!46
|
2026-03-25 19:39:14 +01:00 |
|
Lars Simon Winzer
|
4430ddb0f3
|
Add: Pass CommandParserDispatcher instance to session upon creation
|
2026-03-25 13:50:54 +01:00 |
|
Lars Simon Winzer
|
92e4fcb269
|
Add: CommandParserDispatcher field to Session and SessionReader
|
2026-03-25 13:50:35 +01:00 |
|
Lars Simon Winzer
|
6f1b6361bc
|
Add: Create CommandParserDispatcher on startup and pass to SessionManager
|
2026-03-25 13:48:30 +01:00 |
|
Lars Simon Winzer
|
b0d7dc8b30
|
Add: CommandParserDispatcher as field to SessionManager
|
2026-03-25 13:47:54 +01:00 |
|
Lars Simon Winzer
|
4234149b58
|
Merge branch 'feat/request-context-record' into 'main'
Add RequestContext to simplify creation of Request which requires SessionId and RequestId
Closes #12
See merge request cs108-fs26/Gruppe-13!45
|
2026-03-24 18:29:28 +01:00 |
|
Lars Simon Winzer
|
d1510ddf8e
|
Docs: Write JavaDoc for RequestContext
|
2026-03-24 18:12:02 +01:00 |
|
Lars Simon Winzer
|
edc1b29884
|
Add: PrimitiveRequest takes now RequestContext instead of requestId
|
2026-03-24 18:11:37 +01:00 |
|
Lars Simon Winzer
|
cdd5de620b
|
Add: Create PrimitiveRequest from RawRequest with RequestContext
|
2026-03-24 18:10:15 +01:00 |
|
Lars Simon Winzer
|
34ad803073
|
Refactor: ProtocolParser to accept payload string and return RawRequest
Prior it took the RawPacket as an argument and returned an PrimitiveRequest
|
2026-03-24 18:07:20 +01:00 |
|
Lars Simon Winzer
|
f4476ae1e8
|
Add: RawRequest record to contain command and parameters
|
2026-03-24 18:03:26 +01:00 |
|
Lars Simon Winzer
|
db22f12ed5
|
Add: RequestContext field to abstract Request class
BREAKING CHANGE: Request is now an abstract class instead of an interface
|
2026-03-24 18:00:09 +01:00 |
|
Lars Simon Winzer
|
89753a7479
|
Add: RequestContext record
|
2026-03-24 17:58:21 +01:00 |
|
Lars Simon Winzer
|
03b6c30625
|
Merge branch 'feat/serverside-response' into 'main'
Create components to respond to client request
Closes #8
See merge request cs108-fs26/Gruppe-13!44
|
2026-03-24 15:02:16 +01:00 |
|
Lars Simon Winzer
|
9766fe52c5
|
Add: OkResponse class as default for successful response with no body
|
2026-03-24 14:34:59 +01:00 |
|
Lars Simon Winzer
|
696542003f
|
Add: Detailed JavaDoc documentation for response related components
Disclaimer: The docstrings have been written with Copilot but fact-checked by me.
|
2026-03-24 14:33:46 +01:00 |
|
Lars Simon Winzer
|
676216d291
|
Add: ResponseDispatcher for handling response dispatching
|
2026-03-24 13:49:24 +01:00 |
|
Lars Simon Winzer
|
d0b431b650
|
Fix: Escape single quote when masking string
|
2026-03-24 13:40:34 +01:00 |
|
Lars Simon Winzer
|
a281f74789
|
Add: ResponseEncoder to encode Response to PrimitiveResponse
|
2026-03-24 13:39:06 +01:00 |
|
Lars Simon Winzer
|
02c82c4e95
|
Refactor: Responses to use new ResponseBody
|
2026-03-24 13:11:25 +01:00 |
|
Lars Simon Winzer
|
796827cbb4
|
Add: ResponseBody and ResponseBodyBuilder classes for building response body
|
2026-03-24 12:52:35 +01:00 |
|
Lars Simon Winzer
|
e7c9063a5d
|
Remove: Encodable as encode-method is no longer used
|
2026-03-24 12:33:36 +01:00 |
|
Lars Simon Winzer
|
bcfbe06532
|
Add: ResponseNode and implementations to store body of response
|
2026-03-24 12:19:25 +01:00 |
|
Lars Simon Winzer
|
eb63f6d39b
|
Add: Base classes for all responses
|
2026-03-23 15:45:44 +01:00 |
|
Lars Simon Winzer
|
0f58b4e998
|
Add: Encodable interface as lowest instance
|
2026-03-23 15:44:58 +01:00 |
|
Lars Simon Winzer
|
6324c4a28c
|
Merge branch 'main' into 'feat/serverside-response'
|
2026-03-23 10:41:19 +01:00 |
|
Lars Simon Winzer
|
900bb4f26e
|
Merge branch 'issue/11-bump-spotless-version' into 'main'
Bumb google-java-format version from '1.25.2' to '1.35.0'
Closes #11
See merge request cs108-fs26/Gruppe-13!43
|
2026-03-23 10:33:19 +01:00 |
|
Lars Simon Winzer
|
f3703e4dbd
|
Build: Bumb google-java-format version from '1.25.2' to '1.35.0'
|
2026-03-23 10:28:28 +01:00 |
|
Lars Simon Winzer
|
8d72a67b5e
|
Merge branch 'feat/session-reader-and-writer-thread' into 'main'
Add SessionReader and SessionWriter worker threads for session
Closes #9
See merge request cs108-fs26/Gruppe-13!42
|
2026-03-20 17:39:44 +01:00 |
|
Lars Simon Winzer
|
e2e01addaa
|
Fix: Leak of SessionManager by removing both removeSession method
|
2026-03-20 17:32:16 +01:00 |
|
Lars Simon Winzer
|
94fcd88223
|
Fix: Avoid Race condition in create method of SessionManager
|
2026-03-20 17:31:44 +01:00 |
|
Lars Simon Winzer
|
0bb5a1e940
|
Fix: Remove session requested to be disconnected from sessions map
|
2026-03-20 17:21:36 +01:00 |
|
Lars Simon Winzer
|
c6833b71e8
|
Style: Add missing 'static' keyword to static variable
|
2026-03-20 17:12:55 +01:00 |
|
Lars Simon Winzer
|
b19e923356
|
Style: Magic number, linelength and trailing whitespace
|
2026-03-20 17:09:59 +01:00 |
|
Lars Simon Winzer
|
f79f7f0ae2
|
Add: Useful information to log statement to ease debugging
|
2026-03-20 16:56:03 +01:00 |
|
Lars Simon Winzer
|
2ed7ae4e5d
|
Fix: Replace logging level 'trace' with 'error' and 'warn'
|
2026-03-20 16:47:01 +01:00 |
|
Lars Simon Winzer
|
107870ff78
|
Remove: eventBus argument from NetworkManager creation
|
2026-03-20 16:46:26 +01:00 |
|
Lars Simon Winzer
|
9e8ea37e88
|
Remove: DisconnectEvent handler from NetworkManager
|
2026-03-20 16:37:46 +01:00 |
|
Lars Simon Winzer
|
699b9053eb
|
Add: Instantiate SessionManager with provided eventManager and correct DisconnectEvent handler
|
2026-03-20 16:31:26 +01:00 |
|
Lars Simon Winzer
|
35da4d2770
|
Add: Make NetworkManager use SessionManager to create session
|
2026-03-20 16:30:38 +01:00 |
|
Lars Simon Winzer
|
761cf4a760
|
Add: DisconnectEvent handler function to SessionManager
|
2026-03-20 16:30:06 +01:00 |
|
Lars Simon Winzer
|
11a7f0036c
|
Add: create and disconnect methods to SessionManager
|
2026-03-20 16:28:33 +01:00 |
|
Lars Simon Winzer
|
7713069496
|
Add: Make SessionManager use SessionHandle
|
2026-03-20 16:22:47 +01:00 |
|
Jona Walpert
|
738b97a849
|
Merge branch 'chore/gradle-properties-to-gitignore' into 'main'
Add: Gradle properties to gitignore
See merge request cs108-fs26/Gruppe-13!41
|
2026-03-20 10:47:02 +00:00 |
|
Jona Walpert
|
72da952e5a
|
Add: Gradle properties to gitignore
|
2026-03-20 11:44:26 +01:00 |
|
Jona Walpert
|
4dcade3daf
|
Add: Javadoc for client sided classes and methods
|
2026-03-20 11:41:19 +01:00 |
|
Jona Walpert
|
f78e9dfa38
|
Style: Magic numbers
|
2026-03-20 11:07:17 +01:00 |
|
Jona Walpert
|
af37e33f07
|
Style: Line length
|
2026-03-20 10:57:31 +01:00 |
|
Julian Kropff
|
3d8bad2427
|
Add: first three poker cards
|
2026-03-19 20:10:19 +01:00 |
|
Julian Kropff
|
c88c809a2e
|
Add: Casono logos
|
2026-03-19 20:09:36 +01:00 |
|