Hi,
I want to implement and simulate the SCRIBE group multicast application on top of Pastry in the simulator.
When I am done with coding (lets assume I did no mistake) and the application theoretically works as it should. How can I trigger application specific behavior or actions in the simulation?
For SCRIBE, these actions simply are creating, joining, leaving a multicast group and sending multicast messages to group members.
As I understood, I can write an action.dat file for my application to trigger events at certain times during the simulation.
But the action.dat only is interpreted by the simulator which then triggers according behavior.
Formulating my question more precisely:
I already implemented how my application should react on the four possible message types of SCRIBE. But I don't know where I should implement the actual triggering of those four message types.
Example:
In action.dat there's the line "node 0110 joins group 0101".
Now some part of my application has to know, that it should send a join message.
Where should I implement how the code interprets orders like these?
I am sorry for the confusing formulation of my problem.
Best regards
Simulator version: 2013-10-17 PeerfactSim.KOM - Community Edition