package pl.edu.mimuw.cloudatlas.agent.messages; import java.util.Map; import pl.edu.mimuw.cloudatlas.model.Attribute; import pl.edu.mimuw.cloudatlas.model.PathName; import pl.edu.mimuw.cloudatlas.model.ValueTime; public class NoCoTamMessage extends RemoteGossipGirlMessage { private long receiverGossipId; private long senderGossipId; private Map zoneTimestamps; private Map queryTimestamps; private ValueTime hejkaSendTimestamp; private ValueTime hejkaReceiveTimestamp; public NoCoTamMessage(String messageId, long timestamp, long senderGossipId, long receiverGossipId, Map zoneTimestamps, Map queryTimestamps, ValueTime hejkaSendTimestamp, ValueTime hejkaReceiveTimestamp) { super(messageId, timestamp, Type.NO_CO_TAM); this.receiverGossipId = receiverGossipId; this.senderGossipId = senderGossipId; this.zoneTimestamps = zoneTimestamps; this.queryTimestamps = queryTimestamps; this.hejkaSendTimestamp = hejkaSendTimestamp; this.hejkaReceiveTimestamp = hejkaReceiveTimestamp; } private NoCoTamMessage() {} public long getReceiverGossipId() { return receiverGossipId; } public long getSenderGossipId() { return senderGossipId; } public Map getZoneTimestamps() { return zoneTimestamps; } public Map getQueryTimestamps() { return queryTimestamps; } public ValueTime getHejkaSendTimestamp() { return hejkaSendTimestamp; } public ValueTime getHejkaReceiveTimestamp() { return hejkaReceiveTimestamp; } }