Added UserStatusChangeProcessor

additionally added UserStatus updating in the LoginCredentialProcessor
yet missing: method to handle clients going offline
This commit is contained in:
delvh
2020-02-01 23:37:44 +01:00
parent 6932a62aa9
commit 5b28f2f25b
8 changed files with 103 additions and 12 deletions

View File

@ -33,7 +33,6 @@ public class ObjectMessageProcessor implements IMessageProcessor {
*/
public ObjectMessageProcessor(Set<ObjectProcessor<?>> processors) { this.processors = processors; }
@SuppressWarnings("unchecked")
@Override
public void process(Message message, WriteProxy writeProxy) {
try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(message.sharedArray, message.offset + 4, message.length - 4))) {

View File

@ -22,7 +22,7 @@ public class ObjectWriteProxy {
private final WriteProxy writeProxy;
/**
* Creates an instance of @link{ObjectWriteProxy}.
* Creates an instance of {@link ObjectWriteProxy}.
*
* @param writeProxy the {@link WriteProxy} to write objects to another client
* @since Envoy Server Standalone v0.1-alpha