diff options
author | Martin <marcin.j.chrzanowski@gmail.com> | 2020-01-11 18:56:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-11 18:56:04 +0100 |
commit | eb93e15925f7062cf3ffdb0e3712bbbf8bd46ee9 (patch) | |
tree | e28f524dbbd716e2ea890d21cdd1edba559049f0 /src/main/java/pl/edu/mimuw/cloudatlas/agent/messages | |
parent | 0c94ea210579436f5a1723117f83ced974517b55 (diff) | |
parent | 472550511e084d814c8a8d91e2aafa6756506271 (diff) |
Merge pull request #99 from m-chrzan/register-messages
Register messages
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/messages')
4 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AttributesMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AttributesMessage.java index 49bda14..e4e3cb7 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AttributesMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/AttributesMessage.java @@ -17,6 +17,8 @@ public class AttributesMessage extends RemoteGossipGirlMessage { this.receiverGossipId = receiverGossipId; } + private AttributesMessage() {} + public PathName getPath() { return path; } diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/HejkaMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/HejkaMessage.java index 62554a5..479f63c 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/HejkaMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/HejkaMessage.java @@ -22,6 +22,8 @@ public class HejkaMessage extends RemoteGossipGirlMessage { this.queryTimestamps = queryTimestamps; } + private HejkaMessage() {} + public long getSenderGossipId() { return senderGossipId; } diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/NoCoTamMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/NoCoTamMessage.java index c23722c..4edfa67 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/NoCoTamMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/NoCoTamMessage.java @@ -24,6 +24,8 @@ public class NoCoTamMessage extends RemoteGossipGirlMessage { this.hejkaReceiveTimestamp = hejkaReceiveTimestamp; } + private NoCoTamMessage() {} + public long getReceiverGossipId() { return receiverGossipId; } diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/QueryMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/QueryMessage.java index 2b3b064..e457c21 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/QueryMessage.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/QueryMessage.java @@ -15,6 +15,8 @@ public class QueryMessage extends RemoteGossipGirlMessage { this.receiverGossipId = receiverGossipId; } + public QueryMessage() {} + public Attribute getName() { return name; } |