From 70a233029d805104845f20b9904e1cdb6feac921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Mon, 6 Jan 2020 18:51:49 +0100 Subject: Add noarg constructors to messages for serialization --- .../java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java index 02b3337..b28f4b9 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/ResponseMessage.java @@ -17,6 +17,8 @@ public abstract class ResponseMessage extends AgentMessage { this.requestId = requestId; } + public ResponseMessage() {} + public void callMe(Module module) throws InterruptedException, Module.InvalidMessageType { module.handleTyped(this); } -- cgit v1.2.3