Commit Graph

85 Commits

Author SHA1 Message Date
Lars Simon Winzer 4bcb9a9874 Style: Newline at end of file 2026-03-13 15:46:12 +01:00
Lars Simon Winzer 38133e6761 Docs: Add JavDoc for all classes and methods 2026-03-13 15:16:15 +01:00
Lars Simon Winzer 4231ca3e97 Ammend to 49019075e4 2026-03-13 15:12:06 +01:00
Lars Simon Winzer 49019075e4 Move: Network related files into respective folders 2026-03-13 14:42:19 +01:00
Lars Simon Winzer 711de2e6aa Add: Make use of SessionManager 2026-03-12 20:13:50 +01:00
Lars Simon Winzer 74566f99cf Fix: Direct (unallowed) cast from Consumer<T> to Consumer<Object> 2026-03-12 20:12:52 +01:00
Lars Simon Winzer c301039bfc Add: SessionManager to store all active sessions 2026-03-12 19:34:46 +01:00
Lars Simon Winzer e1029932d8 Fix: 'Potential null pointer access' 2026-03-12 19:27:29 +01:00
Lars Simon Winzer db7892d9c4 Fix: 'Type safety: Unchecked cast from ...' 2026-03-12 19:26:00 +01:00
Lars Simon Winzer 7b32fe1147 Add: Event interface and implement it in DisconnectEvent, update EventBus to only allow Event type 2026-03-12 19:16:59 +01:00
Lars Simon Winzer 54588276d1 Add: Let Session publish DisconnectEvent and EventHandler subscribe and handle it 2026-03-12 19:15:25 +01:00
Lars Simon Winzer fc8a92789a Add: DisconnectEvent as record 2026-03-12 19:13:25 +01:00
Lars Simon Winzer 7fcb47ed6f Add: EventBus class for event handling and subscription management 2026-03-12 19:12:53 +01:00
Lars Simon Winzer d4bf69dc59 Refactor: Session to use TransportLayer for socket communication 2026-03-12 15:55:46 +01:00
Lars Simon Winzer b073760eef Add: TcpTransport class to implement TransportLayer 2026-03-12 15:51:35 +01:00
Lars Simon Winzer 48d77b6cbe Add: TransportLayer interface to abstract direct socket access 2026-03-12 15:47:03 +01:00
Lars Simon Winzer f4a32b1649 Add: Session Runnable to read incomming data, decode and print it 2026-03-12 13:45:30 +01:00
Lars Simon Winzer 5407e245f7 Add: Modify NetworkManager to create Session uppon recieving a new connection 2026-03-12 13:43:35 +01:00
Lars Simon Winzer 5ff4dcec53 Move: Session and SessionId from common to server 2026-03-11 18:53:30 +01:00
Lars Simon Winzer dac05de331 Add: Primitive first version of NetworkManager 2026-03-11 18:23:26 +01:00
Lars Simon Winzer b1ab8f3982 Merge branch 'main' into 'feat/network-manager' 2026-03-11 17:57:29 +01:00
Lars Simon Winzer 82dd5a9b8a Merge branch 'feat/log4j-logging' into 'main'
Add Log4J as Gradle dependency and configures it with the bare minimum

See merge request cs108-fs26/Gruppe-13!13
2026-03-11 17:50:08 +01:00
Lars Simon Winzer 18331a7cc3 Add: Colored log output, based on log level 2026-03-11 17:47:36 +01:00
Lars Simon Winzer a2256b2c1e Add: Jansi as gradle dependency to allow colored console output 2026-03-11 17:44:19 +01:00
Lars Simon Winzer 85c872df23 Add: Konfigure log4j with the bare minimum 2026-03-11 17:41:14 +01:00
Lars Simon Winzer 2b012aa256 Add: log4j as gradle dependency 2026-03-11 17:40:46 +01:00
Jona Walpert 14384dea5b Merge branch 'chore--add-bin-to-gitignore' into 'main'
Add: Added "bin" to gitignore

See merge request cs108-fs26/Gruppe-13!12
2026-03-11 13:21:26 +00:00
Jona Walpert e5e93c1a65 Add: Added "bin" to gitignroe 2026-03-11 14:20:18 +01:00
Jona Walpert f1b6243d6d Merge branch 'chore/build-gradle-javafx-module-changes' into 'main'
Add javafx modules to gradle

See merge request cs108-fs26/Gruppe-13!11
2026-03-11 12:44:24 +00:00
Jona Walpert 7daae485da Chore: Added javafx modules to build.gradle file 2026-03-11 13:22:33 +01:00
Jona Walpert 3c9f19c5da Add: Game logo, placeholder abckground image 2026-03-11 13:13:42 +01:00
Lars Simon Winzer a6afbeeae1 Merge branch 'docs/networking-documentation' into 'main'
Outline of networking components as document, first revision

See merge request cs108-fs26/Gruppe-13!10
2026-03-11 11:59:22 +01:00
Lars Simon Winzer a5272b99ab Add: Include diagramm in document 2026-03-11 11:50:59 +01:00
Lars Simon Winzer fb6f14371f Add: PlantUML diagramm outlining each component 2026-03-11 11:49:46 +01:00
Lars Simon Winzer 32e4b04c87 Add: SessionId to identify each session 2026-03-11 11:43:27 +01:00
Lars Simon Winzer 22990fa35e Add: Document outlining the core components and roles in the server-side networking 2026-03-11 11:37:04 +01:00
Lars Simon Winzer 0a57ac1a1e Merge branch 'chore/exclude-idea-folder' into 'main'
Exclude .idea folder in gitignore

See merge request cs108-fs26/Gruppe-13!9
2026-03-11 11:28:12 +01:00
Lars Simon Winzer a663286c0a Add: Exclude .idea folder 2026-03-11 11:27:14 +01:00
Lars Simon Winzer 3de3a2f113 Merge branch 'chore/task-to-convert-puml-to-svg' into 'main'
VSCode task to convert all .puml files to .svgs using helper script

See merge request cs108-fs26/Gruppe-13!8
2026-03-10 17:32:09 +01:00
Lars Simon Winzer bce3326a0b Add: VSCode task to export all puml files to svgs with helper script 2026-03-10 17:29:37 +01:00
Lars Simon Winzer 2183241e08 Add: Script to convert puml file to svg via plantuml 2026-03-10 17:28:31 +01:00
Lars Simon Winzer f6eb93ad16 Merge branch 'chore/restructure-docs-folder' into 'main'
Move diary and blog folder from docs to top of documents

See merge request cs108-fs26/Gruppe-13!7
2026-03-10 13:23:37 +01:00
Lars Simon Winzer 827ba59c7b Docs: Update repository structure in main README 2026-03-10 13:20:50 +01:00
Lars Simon Winzer b9878a9c33 Chore: Move 'diary' folder to top of 'documents' folder 2026-03-10 13:19:17 +01:00
Lars Simon Winzer d0ea56daa4 Chore: Move 'blog' folder to top of 'documents' folder 2026-03-10 13:18:50 +01:00
Lars Simon Winzer 4549fb4471 Merge branch 'chore/networking-blog' into 'main'
Scaffolding for future blogs

See merge request cs108-fs26/Gruppe-13!6
2026-03-10 13:04:19 +01:00
Lars Simon Winzer 86303f8b84 Docs: Delete '09-03-26_Networking' post 2026-03-10 12:53:38 +01:00
Lars Simon Winzer 2dd3ea2562 Docs: Delete documents related to '09-03-26_Network' post 2026-03-10 12:40:09 +01:00
Lars Simon Winzer 676e24e78d Add: Table of contents and 'The Language of the Network' section 2026-03-09 18:59:35 +01:00
Lars Simon Winzer d346ec4f97 Add: Blog to cover networking in its entirety 2026-03-09 18:30:08 +01:00