Commit Graph

31 Commits

Author SHA1 Message Date
delvh
99ff79b022 Fixed incorrect error handling, upgraded appearance of this processor 2020-01-30 13:20:39 +01:00
delvh
334b1a2bc2 Refactored EventProcessor into MessageStatusChangeProcessor
additionally fixed some minor Javadoc errors
2020-01-30 12:52:27 +01:00
2ffcf6e1a3 Fixed reading multiple objects from one message 2020-01-29 16:20:57 +01:00
23c4fd8f67 Working on reading multiple messages at once
The ObjectMessageReader does function normally for single messages but
will deliver corrupted objects when a message consisting of multiple
objects is received.
2020-01-29 07:45:59 +01:00
be1fc1e502 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
6fe322a866 Fixed typo 2020-01-28 19:57:40 +01:00
6cd7964f9a Added IdGenerationRequestProcessor, fixed bugs in PersistenceManager
* Removed get*ById queries
* Removed src/test/resources from pom.xml
2020-01-28 19:25:30 +01:00
DieGurke
bcfe2e278a Fixes error multiple login, removed src/test/resources
Fixes #12
2020-01-27 18:36:13 +01:00
DieGurke
3eed956a60 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +01:00
DieGurke
ec315f870d Interface Communication Login Credentials 2020-01-21 17:51:50 +01:00
DieGurke
1e00930d4b implemented login and registration (unfinished) 2020-01-18 23:50:41 +01:00
delvh
c5f8c3c6be Added method to get contacts, although as of now all Users are returned 2020-01-18 13:28:54 +01:00
3df01532d8 Fixed EventProcessor and LoginCredentialProcessor 2020-01-18 09:55:12 +01:00
delvh
dc6199806f Added EventProcessor and methods to handle MessageStatus changes
additionally cleaned up whole project, fixed some Javadoc errors and
added a few database and connection options.

Sorry for the huge commit, there was almost no time inbetween where a
commit would have been possible, as to solve every problem, a new
problem arose.
However, as of now, f/message_handling should be ready to be merged into
develop, besides that it could not be tested yet.
2020-01-11 18:28:48 +01:00
0324f3a4fd LV-encoding messages, added JPA validation. 2020-01-06 17:40:19 +01:00
26fc4374ca Added writing capabilities to ObjectProcessor, completed db integration
At this moment the client is not able to receive to objects sent
consecutively. This will be worked on in a future commit and should be
fixed before merging this branch into develop.
2020-01-06 14:58:28 +02:00
597385c950 Merge branch 'develop' into f/message_processing 2020-01-04 16:54:36 +02:00
8f98c45d46 Adjusted comment templates. 2020-01-04 16:50:05 +02:00
delvh
8d0e334d60 Updated PersistenceManager as per @CyB3RC0nN0R 's request 2020-01-04 15:39:43 +01:00
delvh
0ecc9cf0e9 Added PersistenceManager and Namedqueries
In theory, this code is all we need for database integration
2020-01-03 18:17:26 +01:00
02c6f8ad45 Added ConnectionManager, propagating socketId to processors 2020-01-03 18:11:38 +02:00
delvh
b83ef8b4ef Updated Javadoc 2020-01-03 16:21:35 +01:00
10a387beea Moved classes related to java-nio-server to envoy.server.net package. 2020-01-03 16:40:43 +02:00
9318201fd5 Added ORM classes 2020-01-02 18:50:56 +02:00
delvh
901aa57f95 Updated Javadoc 2019-12-30 15:15:25 +01:00
2c9223236f Added ObjectProcessor interface with some implementations 2019-12-30 15:53:40 +02:00
delvh
b7af8aa7bd Changed code as requested by @CyB3RC0nN0R 2019-12-29 17:52:57 +01:00
delvh
1d35de3a39 Added method to handle incoming objects
(not finished as the methods to further process these "Events" have not
been implemented yet)
2019-12-29 14:16:39 +01:00
d12adcb73a Fixed Javadoc error 2019-12-29 11:09:26 +02:00
2592334b05 Changed length of encoded message length to 4 bytes 2019-12-29 10:48:15 +02:00
e13438eefd Added basic lifecycle with object reading capabilities
* Added java-nio-server dependency
* Added ObjectMessageReader and ObjectMessageProcessor
* Added Startup class starting a Server instance
2019-12-28 15:48:39 +02:00