- // this handler exists on receiving (non-central) nodes
- handleSomeNewMessageFromCentralNode (Message newMessage) {
- start = get system time
- process the message
- end = get system time
- delay to process message = end - start
- schedule event with delay {
- sendReply to the central node
- }
- }
would this be correct?
Thank you,
Andrei
--
You received this message because you are subscribed to a topic in the Google Groups "PeerfactSim.KOM" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/peerfactsim-kom/lRmsITs4byg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to peerfactsim-kom+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- // this handler exists on receiving (non-central) nodes
- handleSomeNewMessageFromCentralNode (Message newMessage) {
- delay = getProcessingTimeModel(newMessage)
--
You received this message because you are subscribed to a topic in the Google Groups "PeerfactSim.KOM" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/peerfactsim-kom/lRmsITs4byg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to peerfactsim-kom+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.