diff options
author | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-06 18:51:49 +0100 |
---|---|---|
committer | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-06 18:51:49 +0100 |
commit | 70a233029d805104845f20b9904e1cdb6feac921 (patch) | |
tree | a2f0ab898e51788372d3f1dfbc1dc27e3e6cdf30 /src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java | |
parent | 2feff1aa41c41008fcda2dd60c718cf09deb3fa1 (diff) |
Add noarg constructors to messages for serialization
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java index f343e0f..c3fcb40 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AgentMessage.java @@ -20,6 +20,8 @@ public abstract class AgentMessage { this.timestamp = System.currentTimeMillis() / 1000L; } + public AgentMessage() {} + public String getMessageId() { return messageId; } |