I am writing a small software which deals with inter-process multicast. For each message, on each process, I have a couple of variables assigned to the message itself:
messageID
senderID
ack1
ack2
ack3
...
I would like to put these elements (which are many) in a container, so that it is later easy to perform operations such as changing the value of ack1
for a given messageID
(I should keep trace of which processes in my group notified me that they got the message).
Which is the best container to use in this case?
Thanks